I have problem running "Read MAT-File in C/C++" from MATLAB examples. https://www.mathworks.com/help/matlab/matlab_external/creating-a-mat-file-in-c.html
However, when I try to setup my QT application project to use the MATLAB MAT-File API, it builds, but running the app gives me this error:
I'm using MATLAB 2016a and Visual Studio 2015 Community with Qt5.6 plugin on Win10 64-bit. Does anyone know what is wrong?