How to get Symbols list of stateflow chart through command window
22 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I wanted to get the chart 'Symbol List' through Command Window.
Please help me.
0 件のコメント
回答 (1 件)
Divyajyoti Nayak
2024 年 12 月 24 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Stateflow Programmatic Interface についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!