Is it possible to inline Model Reference blocks in the generated code in R2018a?

I am using a componetized architecture and model referencing in a large model. After reviewing the final model, many of the model reference blocks are not called multiple times. I would like to programmatically choose which model reference blocks are inlined versus model referenced in order to optimize code footprint and execution speed i.e. eliminate the overhead of function calls.

답변 (0개)

카테고리

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

질문:

2021년 3월 16일

편집:

2021년 3월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by