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 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