R2013a and Microsoft Visual Studio 2012 Pro

2 次查看(过去 30 天)
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

采纳的回答

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 CenterFile Exchange 中查找有关 Write 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