Label Find inside a function

2 views (last 30 days)
Mohan Mishra
Mohan Mishra on 19 Jan 2019
I have a chart in which 4 Graphical function is defined .
I want to find the Label inside a particular function.
My code is as below:-
chartArray = m.find('-isa','Stateflow.Chart')
func = chartArray(1).find('-isa','Stateflow.Function)
ft = func.find('-isa','Stateflow.Transition');
the above code give all transition label.
i need only labels inside specific function

Answers (0)

Community Treasure Hunt

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

Start Hunting!