Create junction
junc_new = Stateflow.Junction(parent)
The Stateflow.Junction
method is a constructor method for creating a
junction in a parent chart, state, box, or graphical function. This method returns a
handle to the new Junction
object.
| Handle to the object for the parent chart, state, box, or function of the new junction |
| 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.