How to build a Simulink model programmatically instead of pressing Ctrl+B

32 Ansichten (letzte 30 Tage)
I would like to know what command is equivalent to Ctrl+B for building a model.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 5 Jul. 2022
Bearbeitet: MathWorks Support Team am 5 Jul. 2022
You can generate code and build a model by using the slbuild command from the MATLAB command line. 
 
Note: You can perform one of these actions for the build process. 
1. On the Apps tab, open the Simulink Coder app. In the C Code tab, click Build.
2. Press Ctrl+B.
3. Run the slbuild command from the MATLAB command line.

Weitere Antworten (0)

Kategorien

Mehr zu Deployment, Integration, and Supported Hardware finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by