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 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Fangjun Jiang
Fangjun Jiang am 30 Nov. 2020

1 Stimme

rtwbuild('rtwdemo_mdlreftop','ForceTopModelBuild',true)

Kategorien

Mehr zu Simulink Coder finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 11 Mär. 2015

Beantwortet:

am 30 Nov. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by