Force Simulink Coder to regenerate code and rebuild a model

5 views (last 30 days)
Hi,
is it possible to force the Simulink Coder to regenerate code and rebuild a model? I look for a similar setting like the "Rebuild" option for the model references. I would like to activate this option and always rebuild the model independent on the changes. It would be great if this would be available programmatically as a set_param(...) API command.
Thanks

Answers (1)

Fangjun Jiang
Fangjun Jiang on 30 Nov 2020
rtwbuild('rtwdemo_mdlreftop','ForceTopModelBuild',true)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!