objects = sfgco returns a handle or
vector of handles to the most recently selected Stateflow® objects. If more than one chart is open, the function searches the
last chart with which you interacted that is still open.
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.
Value
Description
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 can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.