Use Stateflow® charts to schedule the order of execution of Simulink® subsystems explicitly in a model. Stateflow schedulers extend control of subsystem execution in a Simulink model, which determines order of execution implicitly based on block connectivity via sample time propagation.
You can implement the following types of schedulers using Stateflow charts.
Scheduler Design Pattern | Description |
---|---|
Ladder logic scheduler | Schedules multiple Simulink subsystems to execute in a single time step |
Loop scheduler | Schedules one Simulink subsystem to execute multiple times in a single time step |
Temporal logic scheduler | Schedules Simulink subsystems to execute at specific times |