Unable to locate 'mexopts.bat', and therefore cannot determine which compiler to use for simulation builds. Use 'mex -setup' to select a supported compiler.

3 Ansichten (letzte 30 Tage)
i am using matlab 7.10 amd simulink 7.5 version. i am having the following error. 1)Unable to locate 'mexopts.bat', and therefore cannot determine which compiler to use for simulation builds. Use 'mex -setup' to select a supported compiler. 2)**** Error **
i am using embedded file for my concept.before using that file no error will be coming.bt after that this errors are coming. please help me to solve this problem.
  1 Kommentar
Jan
Jan am 4 Nov. 2011
What does "2)**** Error **" exactly mean? Which error message do you get? Did you install a compiler already? Which one? Does it apopear in the list during "mex -setup"?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

craq
craq am 15 Nov. 2011
I have the same error, and it looks like the same thing again here: <http://www.mathworks.com/matlabcentral/answers/5153-compiler-error > I pulled up one of my old simulink projects with an embedded m-file, and got exactly this. (Yes, Jan, the second error is not very helpful, but that's what it says.)
I struggled for a while getting mex set up on 64-bit windows R2010a, but now I can run the yprime example quoted here <http://www.mathworks.de/support/solutions/en/data/1-6IJJ3L/index.html?solution=1-6IJJ3L > anybody have any new ideas?

Kategorien

Mehr zu MATLAB Compiler 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