MATLAB Answers

Ram
0

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

Asked by Ram
on 4 Nov 2011
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 Comment

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"?

Sign in to comment.

1 Answer

Answer by craq
on 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?

  0 Comments

Sign in to comment.