Zoom in on graphical object
Zoom in on State in Chart
Open a Simulink® model called
myModel. Suppose that the model
contains a Stateflow chart with a state named
Simulink.Root object at the top level of the
rt = sfroot;
Find the state named
st = find(rt,'-isa','Stateflow.State','Name','A');
Zoom in on the state in the Stateflow Editor.
graphicalObject — Graphical object
Stateflow.State object |
Stateflow.Box object |
Stateflow.Function object | ...
Graphical object, specified as a Stateflow API object of one of these types: