Getting the datatype of a signal from simulink

19 vues (au cours des 30 derniers jours)
Sunu
Sunu le 17 Jan 2013
I am trying to get the datatype of enumerated signal from the model programmatically, so that I can set its default value to one of the enumerations. If I do Format> Port/Signal Displays> Port Data types , we can see the datatype. But I want to find them with a script.

Réponses (1)

Kaustubha Govind
Kaustubha Govind le 17 Jan 2013
Please see this answer.
  2 commentaires
Sunu
Sunu le 17 Jan 2013
hey, do you know how to close the model beacuse I get the error ...cannot close the model as it is being compiled or simulation is running
Sunu
Sunu le 17 Jan 2013
sorry got it

Connectez-vous pour commenter.

Catégories

En savoir plus sur Event Functions dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by