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

4 vues (au cours des 30 derniers jours)
Hawkeye
Hawkeye le 8 Mar 2024
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 commentaire
Paul
Paul le 9 Mar 2024
Hi Hawkeye,
Interesting question.
If you don't mind me asking, what is the use case for such a utility?

Connectez-vous pour commenter.

Réponse acceptée

Mark McBroom
Mark McBroom le 14 Mar 2024
There is no such utility to do this.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by