MATLAB: Do I get a compiler error C4235 complaining about the _asm keyword when building a Simulink Real-Time model in MATLAB R2014a

compilererrorreal timesimulinkxpc

I am trying to build a Simulink model for a Simulink Real-Time target in MATLAB R2014a but the build fails with the following error.
"error C4235: nonstandard extension used : '_asm' keyword not supported on this architecture"
I have "mex -setup" set to Visual Studio 2013 and have not had any issues with building non-Simulink Real-Time models before. What is going on?

Best Answer

Microsoft Visual C++ Professional does not support all features of Stateflow and Simulink Real-Time. Refer to the following link for a list of supported compilers for MATLAB R2014a and check the column labeled "Simulink Real-Time".