How to find all Graphical function inside a chart

 采纳的回答

Use the Stateflow API as described here.
h = sfroot;
gf = h.find('-isa','Stateflow.Function')

2 个评论

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
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 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Simulink Functions 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by