Schedule Execution of Simulink Subsystems

When to Implement Schedulers

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.

Types of Schedulers

You can implement the following types of schedulers using Stateflow charts.

Scheduler Design PatternDescription
Ladder logic schedulerSchedules multiple Simulink subsystems to execute in a single time step
Loop schedulerSchedules one Simulink subsystem to execute multiple times in a single time step
Temporal logic schedulerSchedules Simulink subsystems to execute at specific times
Was this topic helpful?