Supervisory Logic and Task Scheduling
Use Stateflow® charts to explicitly schedule the execution of Simulink® subsystems. Design event-based logic to switch between controllers and debouncing logic to filter out transient signals that do not represent a true change of state.
- Reduce Transient Signals by Using Debouncing Logic
Design state machines that are resilient to rapidly changing signals.
- Schedule Execution of Multiple Controllers
Use Simulink functions to improve the design of a Stateflow chart.