Use Stateflow® charts to determine the order of execution of Simulink® subsystems explicitly. Execute multiple subsystems or a single subsystem at multiple times within the same time step. Control the number of times and the order in which subsystems are executed.
Schedule Execution of Multiple Controllers
Use Simulink functions to improve the design of a Stateflow chart.
Schedule Simulink Algorithms by Using Stateflow
This model shows how you can schedule a Simulink® algorithm using Stateflow®.