Code Generation-Building standalone executable of Simulink model from command line

2 ビュー (過去 30 日間)
Hello,
I am trying to fully automate the building of a standalone application from my simulink model. I am using commands such as: cs = getActiveConfigSet(model); set_param(cs,'CustomSource',allFiles);
And it all works ok. The only problem I have is, in order to rebuild after some change, I still have to open my simulink model manually and press "Build" in the Code Generation tab of the "Model Configuration Parameters" window.
Can I also somehow hit this button programatically from an m-file?
Best regards, Christian L

採用された回答

Anders Sollander
Anders Sollander 2014 年 8 月 19 日
>> doc slbuild

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by