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

I would like to know what command is equivalent to Ctrl+B for building a model.

 採用された回答

MathWorks Support Team
MathWorks Support Team 2022 年 7 月 5 日
編集済み: MathWorks Support Team 2022 年 7 月 5 日

0 投票

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.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

製品

リリース

R2021b

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by