Export Simulink model to script that programmatically creates it

7 ビュー (過去 30 日間)
Thomas Marullo
Thomas Marullo 2023 年 5 月 30 日
回答済み: Amit Dhakite 2023 年 6 月 8 日
Is it possible to take a Simulink model and export the code that would programmatically create it? For instance, it would make a script that has
"addblock"
"addline"
"set_param"
etc.

回答 (1 件)

Amit Dhakite
Amit Dhakite 2023 年 6 月 8 日
Hi Thomas,
There is no direct or built-in functionality in Simulink to generate code or script that can regenerate a complete Simulink model.
But, there is a way to generate a Simulink model by using a script. To know more about this, kindly refer to the following MATLAB Answer: https://www.mathworks.com/matlabcentral/answers/378983

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

タグ

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by