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

10 Ansichten (letzte 30 Tage)
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 Kommentar
Paul
Paul am 9 Mär. 2024
Hi Hawkeye,
Interesting question.
If you don't mind me asking, what is the use case for such a utility?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Mark McBroom
Mark McBroom am 14 Mär. 2024
There is no such utility to do this.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by