Is it possible to generate a Matlab script from a Simulink model?

조회 수: 8 (최근 30일)
Hawkeye
Hawkeye 2024년 3월 8일
답변: Mark McBroom 2024년 3월 14일
Matlab provides a method for programmatically modifying or generating Simulink models ( https://www.mathworks.com/help/simulink/ug/approach-modeling-programmatically.html ).
I have a large collection of Simulink models that I would like to convert into scripts which, when executed, would then re-generate the orginal (or functionally equivalent) model. In effect, I want a way to seemlessly convert between .slx files and a text-based representation. Does Matlab provide a utility that does this?
  댓글 수: 1
Paul
Paul 2024년 3월 9일
Hi Hawkeye,
Interesting question.
If you don't mind me asking, what is the use case for such a utility?

댓글을 달려면 로그인하십시오.

채택된 답변

Mark McBroom
Mark McBroom 2024년 3월 14일
There is no such utility to do this.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by