How to compile cpp files to make mex files using visual c++ 2010 ?
Ältere Kommentare anzeigen
I am using MATLAB 2012b and I have both visual c++ 2010 and sdk 7.1 installed. But I am not able to create mex files.I get the following error:Error: 'SFunc_Load_MsgTblC.cpp' not found.
Error using mex (line 206) Unable to complete successfully.
1 Kommentar
Walter Roberson
am 10 Jun. 2015
What command line are you giving to mex?
Antworten (1)
James Tursa
am 10 Jun. 2015
0 Stimmen
The file SFunc_Load_MsgTblC.cpp needs to be in the current directory.
2 Kommentare
Prachi Geda
am 10 Jun. 2015
James Tursa
am 10 Jun. 2015
Bearbeitet: James Tursa
am 10 Jun. 2015
But where is the file? It needs to be in the current directory or mex will not find it and give you the error message. What do you get when you type the following:
dir SFunc_Load_MsgTblC.cpp
Kategorien
Mehr zu MATLAB Compiler finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!