R2013a and Microsoft Visual Studio 2012 Pro

2 ビュー (過去 30 日間)
Eugene
Eugene 2013 年 3 月 27 日
I have Microsoft Visual Studio 2012 Pro and Microsoft Visual Studio 2010 Pro and Matlab R2013a on my computer with Windows7.Pro.x64. I setup compiler configuration of Microsoft Visual Studio 2012 Pro using mex -setup. mex -setup see Microsoft Visual Studio 2012 Pro. But when I use Rapip Accelerator I get next errors:
Code Error:
Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler.
Model Error:
Unable to build a standalone executable to simulate the model 'model_name' in rapid accelerator mode. Caused by: ** Error **
Parse Log:
Parsing successful for machine: "model_name"(#21)
When I setup compiler configuration of Microsoft Visual Studio 2010 Pro using mex -setup. mex -setup see Microsoft Visual Studio 2010 Pro. My Simulink model compilers no errors
  1 件のコメント
Bernhard
Bernhard 2013 年 4 月 16 日
I have exacly the same problem.

サインインしてコメントする。

採用された回答

Friedrich
Friedrich 2013 年 3 月 27 日
編集済み: Friedrich 2013 年 3 月 27 日
Hi,
please contact the Technical Support. It seems to be a known issue with VS 2012 and MATLAB R2013a.
In the mean time, use another supported compiler in order to use Simulink successfully.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWrite C Functions Callable from MATLAB (MEX Files) についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by