Visual C++ compiler not found

조회 수: 2 (최근 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에서 Troubleshooting in MATLAB Compiler SDK에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by