Visual C++ compiler not found

6 次查看(过去 30 天)
Rednar
Rednar 2013-7-10
I'm trying to create a Visual C++ solution file from a Simulink model but it keeps telling me that there is "*No supported Visual C/C++ compiler found. Check your installation of Visual C/C++.*"but when I type in the command line:
mex -setup
It shows me that I do have the Microsoft SDK 7.1. Isn't that the Visual Studio compiler? I have Visual C++ 2010 Express correctly installed on my computer but for some reason it keeps telling me that no supported compiler is found. Any ideas on what the problem could be and how can it be solved? I have Matlab 2013a by the way.
Thanks in advance.

采纳的回答

Jan
Jan 2013-7-10
Please read the corresponding documentation http://www.mathworks.de/support/compilers/R2013a/index.html#n8:
While the SDK7.1 should work, 2010 Express is not sufficient, but you need the professional versions. Although you have installed the SDK, I guess, that the Express version was installed afterwards. So please try to uninstall all compilers at first and try it again with only the SDK instzalled.
  1 个评论
Rednar
Rednar 2013-7-10
Thanks for the help, followed your advice and now it's working fine :)

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by