How to get Symbols list of stateflow chart through command window
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I wanted to get the chart 'Symbol List' through Command Window.
Please help me.
0 commentaires
Réponses (1)
Divyajyoti Nayak
le 24 Déc 2024
To get the symbols used in a Stateflow chart programmatically, the ‘find’ function can be used to retrieve an array of ‘Stateflow.Data’ objects of the chart.
data = find(sfroot,"-isa","Stateflow.Data", Path="Model_name/Chart_name");
Here is some documentation for the ‘find’ function and ‘Stateflow.Data’ objects:
0 commentaires
Voir également
Catégories
En savoir plus sur Stateflow Programmatic Interface dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!