sfgco - Get most recently selected objects in the Stateflow® chart

Syntax

object = sfgco

Description

object = sfgco returns a handle or vector of handles to the most recently selected objects in a Stateflow chart, as follows:

If ...sfgco returns ...
No Stateflow charts are open, or no open charts were edited or otherwise manipulatedEmpty matrix
There is no selection listHandle to the Stateflow chart most recently clicked
You select one object in a Stateflow chartHandle to the selected object
You select multiple objects in a Stateflow chartVector of handles to the selected objects
You select multiple objects in multiple Stateflow chartsVector of handles to the most recently selected objects in the most recently selected chart

See Also

sfnew, stateflow

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS