How to compile cpp files to make mex files using visual c++ 2010 ?
이전 댓글 표시
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
Walter Roberson
2015년 6월 10일
What command line are you giving to mex?
답변 (1개)
James Tursa
2015년 6월 10일
0 개 추천
The file SFunc_Load_MsgTblC.cpp needs to be in the current directory.
댓글 수: 2
Prachi Geda
2015년 6월 10일
James Tursa
2015년 6월 10일
편집: James Tursa
2015년 6월 10일
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
카테고리
도움말 센터 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!