How to find all Graphical function inside a chart

1 Ansicht (letzte 30 Tage)
Mohan Mishra
Mohan Mishra am 19 Jan. 2019
Kommentiert: Mark McBroom am 21 Jan. 2019
How to find all Graphical function inside a chart

Akzeptierte Antwort

Mark McBroom
Mark McBroom am 19 Jan. 2019
Use the Stateflow API as described here.
h = sfroot;
gf = h.find('-isa','Stateflow.Function')
  2 Kommentare
Mohan Mishra
Mohan Mishra am 20 Jan. 2019
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 am 21 Jan. 2019
Are you sure you have Graphical Functions in your chart? The return of a 0*1 handle indicates that no graphical functions were found.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by