cant find mexopts.bat
조회 수: 3 (최근 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.
참고 항목
카테고리
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!