Compiler Error: Unable to locate compiler while running sumulation
2 ビュー (過去 30 日間)
古いコメントを表示
I have Already installed Visual studio 2012. With all of its components including Visual C++ 2012. But still i am getting the following error- "Error matlab Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler."
1 件のコメント
Image Analyst
2013 年 10 月 5 日
編集済み: Image Analyst
2013 年 10 月 5 日
You forgot to tell us what it said when you issued the "mex -setup" command like it instructed you to do. Please show that information also. For some reason, either you didn't run that (like it told you to), or you are running it and it's not finding VS2012 for some reason.
回答 (2 件)
Azzi Abdelmalek
2013 年 10 月 5 日
編集済み: Azzi Abdelmalek
2013 年 10 月 5 日
To select your compiler, type in Matlab command windows
mex -setup
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!