Visual C++ compiler not found

2 Ansichten (letzte 30 Tage)
Rednar
Rednar am 10 Jul. 2013
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.

Akzeptierte Antwort

Jan
Jan am 10 Jul. 2013
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 Kommentar
Rednar
Rednar am 10 Jul. 2013
Thanks for the help, followed your advice and now it's working fine :)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Troubleshooting in MATLAB Compiler SDK finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by