Selected objects in chart
Zoom in on Selected State
Display Names of Selected States
In the Stateflow Editor, simultaneously select several states by clicking each state while pressing the Shift key.
myStates = sfgco;
Display the names of the selected states.
objects — Selected graphical objects
handle | vector of handles
Selected graphical objects, returned as a handle or vector of handles to Stateflow API objects. This table describes the format and content of the output of the function, depending on your selection.
|Empty matrix||You have not opened or edited any charts.|
|Handle to the chart most recently clicked||You clicked in a chart, but did not select any objects.|
|Handle to the selected object||You selected one object in a chart.|
|Vector of handles to the selected objects||You selected multiple objects in a chart.|
|Vector of handles to the most recently selected objects in the most recently selected chart||You selected multiple objects in multiple charts.|