Force Simulink Coder to regenerate code and rebuild a model

5 次查看(过去 30 天)
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

回答(1 个)

Fangjun Jiang
Fangjun Jiang 2020-11-30
rtwbuild('rtwdemo_mdlreftop','ForceTopModelBuild',true)

类别

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