Problems with mex setup
2 ビュー (過去 30 日間)
古いコメントを表示
I use a Matlab 2013a running in a windows 10 64 bits and everytime i try to use mex this following message appears:
>> mex –setup
C:\PROGRA~1\MATLAB\R2013A\BIN\MEX.PL: Error: '–setup' not found.
Error using mex (line 206)
Unable to complete successfully.
I`ve seen a lot of people with the same problem and i have already tried all solutions: i have installed Visual Studio C 2012, 2014, 2010 , windows SDK for windows 10 and .NET Framework 4.6 SDK
But nothing seems to work. Can someone help me please?
1 件のコメント
Muhammed Ali Erbir
2018 年 12 月 6 日
SDK is not enough. you have to install visual studio (at least community version)
while installing you have to select "C++ desktop app development" option
回答 (1 件)
Walter Roberson
2015 年 11 月 25 日
You are typing in the wrong command. You are typing in
mex –setup
but you need
mex -setup
You probably cannot see the difference but it is there. The clue is to look at the error message:
C:\PROGRA~1\MATLAB\R2013A\BIN\MEX.PL: Error: '–setup' not found.
Notice how long the line is before "setup". You are using a m-dash instead of a regular dash.
2 件のコメント
参考
カテゴリ
Help Center および File Exchange で Troubleshooting in MATLAB Compiler SDK についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!