How to resolve error:Unable to locate ‘mexopts.bat’
조회 수: 7 (최근 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!