MATLAB: Do I receive a runtime error when I run the executable for a relatively large scale Simulink model generated using Real Time Workshop 6.0 (R14)

builderrorlargemodelsreal timertwruntimescalesegvsimulinksimulink coderworkshop

I receive runtime errors when I run an executable for a relatively large scale Simulink model generated using Real Time Workshop 6.0 (R14).

Best Answer

This bug has been fixed for Release 14 SP1 (R14SP1). For previous releases, please read below for any possible workarounds:
This has been verified as a bug in Real-Time Workshop 6.0 (R14).
Currently, to work around this issue, try the following:
1. From the model window's menu, choose Simulation - > Configuration Parameters
2. Click Optimization on the left
3. Clear the Enable local block outputs check box and click OK
Then save the model and rebuild it using Real-Time Workshop.