Real time workshop Optimization problems

4 ビュー (過去 30 日間)
Kevin Ehlmann
Kevin Ehlmann 2011 年 11 月 1 日
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 Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by