How to get Data type of stateflow input through script?
Afficher commentaires plus anciens
How to get Data type of stateflow input through script?
1 commentaire
The Matlab Spot
le 13 Déc 2013
Do you want the data type to be compile time or defined in the data explorer?
Réponse acceptée
Plus de réponses (1)
The Matlab Spot
le 13 Déc 2013
To get the data type of the input of the stateflow at compile time (for data set as inherit from Simulink)
1. Compile the model using
[sys,x0,str,ts] = model_name([],[],[],'compile');
2. Get the Statflow block input port's compiled port data type
Catégories
En savoir plus sur Simulink Functions dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!