cant find mexopts.bat
2 ビュー (過去 30 日間)
古いコメントを表示
an error pops up when i am running a simulink block.the error says "Unable to locate 'mexopts.bat', and therefore cannot determine which compiler to use for simulation builds." how do i resolve the issue.need help please
0 件のコメント
回答 (1 件)
James Tursa
2013 年 6 月 22 日
Type the following at the command line prompt:
mex -setup
Then press ENTER when it asks you if you want to search for compilers. Then enter the number of the compiler you want to use, such as lcc.
2 件のコメント
Radheeshkumar
2013 年 10 月 9 日
thanks for the reply.. but, when I entered the command "mex -setup" it did not asked to search for compilers..
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/175663/image.png)
Kaustubha Govind
2013 年 10 月 9 日
You need to run the command at the command-line. Do not attempt to generate code from it.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!