Real time workshop Optimization problems

4 次查看(过去 30 天)
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 个评论
Kaustubha Govind
Kaustubha Govind 2011-11-1
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by