| Stateflow User's Guide | ![]() |
Adding a History Junction to a Superstate
History junctions store the most recently active substate of a superstate. When the superstate is exited and reentered, this is the substate that becomes active. In this topic, you add a history junction to a superstate in the following steps:
SFcontrol5, which you save in Adding Superstates to Simplify Control.
SFcontrol6.
SFcontrol6).
| Adding a History Junction to Save State | Simulating with a History Junction | ![]() |
© 1994-2005 The MathWorks, Inc.