How to find all Graphical function inside a chart

1 回表示 (過去 30 日間)
Mohan Mishra
Mohan Mishra 2019 年 1 月 19 日
コメント済み: Mark McBroom 2019 年 1 月 21 日
How to find all Graphical function inside a chart

採用された回答

Mark McBroom
Mark McBroom 2019 年 1 月 19 日
Use the Stateflow API as described here.
h = sfroot;
gf = h.find('-isa','Stateflow.Function')
  2 件のコメント
Mohan Mishra
Mohan Mishra 2019 年 1 月 20 日
By using this i get answer as below :
gf = 0*1 handle
By using this How can i get the name of function that are used inside the chart
Mark McBroom
Mark McBroom 2019 年 1 月 21 日
Are you sure you have Graphical Functions in your chart? The return of a 0*1 handle indicates that no graphical functions were found.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by