Main Content
setPrevActiveChild
Set previously active substate
Description
setPrevActiveChild(
sets the state that corresponds to the operating point stateOp
,substateOp
)substateOp
as
the previously active substate in the operating point stateOp
.
stateOp
must be an operating point for an inactive state that
contains a history junction.
setPrevActiveChild(
marks the state called stateOp
,substateName
)substateName
as the previously active substate
in stateOp
.
Examples
Input Arguments
Version History
Introduced in R2009b