How to resolve error:Unable to locate ‘mexopts.bat’
1 回表示 (過去 30 日間)
古いコメントを表示
Hi, I have run the model in Simulink called “Kinetic Energy Recovery System” which I found in “Help”. When I run the model, there is an error message:
Unable to locate ‘mexopts.bat’, and therefore cannot determine which compiler to use for simulation builds. Use ‘mex -setup’ to select a supported compiler.
What should I do to solve this problem? Please tell me.
Best regards, Tommy
0 件のコメント
回答 (1 件)
Ryan Livingston
2013 年 3 月 5 日
As per the error try:
mex -setup
and choose the compiler you have installed. That writes mexopts.bat for you so that Simulink and MATLAB can find your installed compiler.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!