| Stateflow User's Guide |
 |
Entering, Executing, and Exiting a State
States are either active or inactive. The following sections describe the stages of state execution that take place between becoming active and becoming inactive:
- Entering a State -- Describes the execution involved when a transition causes a state to be entered.
- Executing an Active State -- Describes the execution of a state when it receives an event that does not result in an outgoing transition from that state to another.
- Exiting an Active State -- Describes the execution involved when a transition causes a state to be exited.
- State Execution Example -- Gives a detailed description of an example of state execution activities during the execution of a Stateflow diagram.
| Explicit Order Mode | | Entering a State |  |
© 1994-2005 The MathWorks, Inc.