Real time workshop Optimization problems
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Kaustubha Govind
am 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.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Coder finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!