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

4 次查看(过去 30 天)
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 个评论
Jan
Jan 2011-11-4
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"?

请先登录,再进行评论。

回答(1 个)

craq
craq 2011-11-15
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?

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by