Mat file API using C++ and Qt
-
Hi,
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.htmlWhen I compile it from matlab command window using mex, everythink is ok, mat file is created.
When I use the same msvc compiler parameters in command line, everything works fine.
When I create simple console application in VS2015 and setup the project to use mat-file api (includes, libs), everything works.However, when I try to setup my QT application project to use mat-file api, it builds, but running the app gives me this error:
https://stackoverflow.com/questions/36409340/mat-file-api-using-c-and-qt
Is there some problem with conversion from Unicode? I read some article that Qt is abandoning ICU converters. -
Hi and welcome
The link to the error demands login so people cannot see it :) -
@mrjj I haven't found another one. I have only one version of Matlab installed - 2016a, it's only 64bit version. I have completely reinstalled my windows because I had 2015 version before and saw some posts in Matlab forum that it could be the problem. But reinstall didn't solve anything. :(
And I'm using Visual Studio 2015 with Qt addin.
I think that I'll use .csv files for now in my semestral project, and maybe later when there's some time left, I'll try to solve this issue with mat files... -
Its odd then.
sounds like a good plan.
csv should be fast to get up and running. :)