R2013a and Microsoft Visual Studio 2012 Pro

1 view (last 30 days)
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

Accepted Answer

Friedrich
Friedrich on 27 Mar 2013
Edited: Friedrich on 27 Mar 2013
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.

More Answers (0)

Categories

Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!