| Contents | Index |
junc_new = Stateflow.Junction(parent)
The Stateflow.Junction method is a constructor method for creating a junction in a parent chart, state, box, or function, that returns a handle to the Junction object for the new junction.
Handle to the object for the parent chart, state, box, or function of the new junction |
junc_new | Handle to the Junction object for new junction |
If sA is a handle to a State object for the existing state A, the following command creates a new junction parented (contained by) state A:
junc_new = Stateflow.Junction(sA)
The new junction appears in the middle of state A in the chart. junc_new is a handle to the Junction object for the new junction that you use to set its properties, and execute its methods.

Learn how engineers use Stateflow to model state machines in their Simulink models.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |