| Stateflow® | ![]() |
object = sfgco
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 manipulated | Empty matrix |
| There is no selection list | Handle to the Stateflow chart most recently clicked |
| You select one object in a Stateflow chart | Handle to the selected object |
| You select multiple objects in a Stateflow chart | Vector of handles to the selected objects |
| You select multiple objects in multiple Stateflow charts | Vector of handles to the most recently selected objects in the most recently selected chart |
![]() | sfexplr | sfhelp | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |