Mex, *.cpp not found
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I am new to the mex stuff, dont know much about it. I tried compiling a cpp file and got a error.
mex estpab.cpp
C:\PROGRA~1\MATLAB\R2011A\BIN\MEX.PL: Error: 'estpab.cpp' not found.
??? Error using ==> mex at 208 Unable to complete successfully.
I have the cpp file in the folder that is added to the matlabpath. I dont know where I am supposed to place the file. Any help would be greatly appreciated.
Thank you.
0 件のコメント
採用された回答
Walter Roberson
2011 年 6 月 1 日
I believe that it is not sufficient that the folder be on the path: I believe you need to be cd()'d to the folder if you do not give the full path to the file.
その他の回答 (1 件)
Walid
2011 年 10 月 5 日
have the same problem ? what is cd()'d ? Walid
1 件のコメント
Walter Roberson
2011 年 10 月 5 日
cd() is "change current directory"; see http://www.mathworks.com/help/techdoc/ref/cd.html
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!