cant find mexopts.bat
1 次查看(过去 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..
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!