Why does checking inline parameters optimize out blocks?

R2013b.
When I selecte Inline Parameters I find that some simulink blocks get optimised out of the generated code.
All I want is for constant parameters to be #defined, so why this side affect?
Some of the blocks that are optimised out are very similar to some others that are not so I really don't undersand the rules that are being following by the Simulink model build.
The block reduction setting has no effect for this case.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Model Verification에 대해 자세히 알아보기

제품

질문:

2015년 3월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by