How to get Symbols list of stateflow chart through command window
조회 수: 8 (최근 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!