Use Stateflow to Model Finite State Machines
Model dynamic systems as finite state machines in Stateflow®.
Construct and Execute a Stateflow Chart
Build state transition diagrams in the Stateflow graphical programming editor.
Define Chart Behavior by Using Actions
Control the behavior of a Stateflow chart by using actions in states and transitions.
Create a Hierarchy to Manage System Complexity
Design logic at multiple levels in a complex system by using hierarchy.
Model Synchronous Subsystems by Using Parallelism
Implement operating modes that are active at the same time by using parallel states.
Synchronize Parallel States by Broadcasting Events
Broadcast events from one state to another to synchronize parallel states.
Monitor Chart Activity by Using Active State Data
Automatically track which state is active during simulation.
Schedule Chart Actions by Using Temporal Logic
Define chart behavior in terms of simulation time by using temporal logic operators.