How to rebuild a referenced model inside a top model

4 views (last 30 days)
Hi guys I have a simulink not referenced top model containing some referenced models. I often generate its ert source code with Simulink Coder but the generation is very long (about 6h). If I want to modify only a referenced model and try to rebuild ONLY this model (avoiding top model rebuild), generated code doesn’t match (in terms of function calls) with the top model source code. Is it possible to rebuild only the referenced model avoiding the rebuild of the top model? Thank you very much.

Answers (1)

Mark McBroom
Mark McBroom on 11 Jan 2019
slbuild(<modelRefName>,'ModelReferenceRTWTarget')

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!