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 Center および File ExchangeTroubleshooting 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