cant find mexopts.bat

1 Ansicht (letzte 30 Tage)
badal
badal am 22 Jun. 2013
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

Antworten (1)

James Tursa
James Tursa am 22 Jun. 2013
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 Kommentare
Radheeshkumar
Radheeshkumar am 9 Okt. 2013
thanks for the reply.. but, when I entered the command "mex -setup" it did not asked to search for compilers..
Kaustubha Govind
Kaustubha Govind am 9 Okt. 2013
You need to run the command at the command-line. Do not attempt to generate code from it.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Simulation finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by