Compiler error
9 ビュー (過去 30 日間)
古いコメントを表示
Hey,
I have this error on my pc when I try to work with a "Embedded Matlab function block"
"Unable to locate 'mexopts.bat', and therefore cannot determine which compiler to use for simulation builds. Use 'mex -setup' to select a supported compiler."
I am using Matlab verR2010a win 64 bit.Do let me know if additional information is required.
Kamran Qureshi
0 件のコメント
回答 (4 件)
Walter Roberson
2011 年 4 月 9 日
At the command line, have you typed
mex -setup
??
Which compiler do you have installed? There are only a few supported compilers for that version.
Chirag Gupta
2011 年 4 月 18 日
Hi Kamran,
You should try this solution: http://www.mathworks.com/support/solutions/en/data/1-6IJJ3L/?solution=1-6IJJ3L
On 64 bit systems, you need a 64 bit compiler. By default, MSVC does not install the 64 bit Compiler tools as indicated by the error message.
Kamran
2011 年 4 月 21 日
1 件のコメント
Kaustubha Govind
2011 年 4 月 22 日
Do you mean the issue is resolved with the Embedded MATLAB Function as well?
参考
カテゴリ
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!