Force Simulink Coder to regenerate code and rebuild a model

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

2 commentaires

Anyone? :(
I would also be interested in a solution.

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by