Real time workshop Optimization problems
4 views (last 30 days)
Show older comments
I am having some trouble with the executable generated by real time workshop from a simulink model. I am generating an executable with some custom code that will rewrite the model data out of an xml file. This method has been tested and proven to work with an older version of the simulation and real time workshop. The problem occurs because some of the values are being optimized and items such as matrices are losing their dimensions. For example, any diagonal matrices are being optimized to a vector. This has been checked by viewing the _capi.c file. Is there a way to turn these optimizations off?
1 Comment
Kaustubha Govind
on 1 Nov 2011
Most optimization options for parameters are present under Optimization > Signals and Parameters in the Configuration Parameters. I would recommend turning all of these off and see if that resolves your issue. If not, perhaps you should contact MathWorks Tech Support.
Answers (0)
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!