Export Simulink model to script that programmatically creates it

조회 수: 14 (최근 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 CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by