Visual C++ compiler not found

5 views (last 30 days)
Rednar
Rednar on 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.

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!