Why mex is creating error?
1 回表示 (過去 30 日間)
古いコメントを表示
I run this code:
mex -O resize.cc
mex -O reduce.cc
mex -O shiftdt.cc
mex -O features.cc
mex -O fconv.cc
This error occurs:
??? Error using ==> mex at 222 Unable to complete successfully.
Error in ==> compile at 1 mex -O resize.cc
What to do now?
1 件のコメント
Walter Roberson
2014 年 2 月 10 日
It doesn't say anything else?
Have you used
mex -setup
to configure your compiler ?
回答 (2 件)
Rehan
2017 年 8 月 5 日
編集済み: Walter Roberson
2017 年 8 月 5 日
hi
this syntax is for mac or linux, but if you are running this code on windows. use full path like this
mex C:\Users\....\resize.cc
if you have any issue you can ask. i hope it helped.
3 件のコメント
Jan
2017 年 8 月 5 日
@Rehan: The situation is the same under Linux, MacOS and Windows: If resize.cc is in the current folder, no path is required. If it is not in the current folder, you need either a relative or absolute path.
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!