Control Timing and Execution
Adjust the chart timing and execution semantics for integration with Simulink® models. Control execution by using state update rates, event priorities, and execution contexts. Use event and transition processing to avoid unexpected behavior.
Topics
- Control When Charts Execute by Using Temporal Logic Operators
Design Stateflow charts that respond to changes in data values by connecting transitions and actions to data conditions.
- Control Parallel State Execution Order
Control execution order of parallel states for predictable data flow and event processing.
- Create Event-Based Timing Patterns
Use event-based temporal logic operators to create timing patterns that execute chart actions based on event occurrences rather than absolute time.
- Synchronize Actions Between Parallel States
Synchronize actions in parallel states using implicit events, local event broadcasts, state activity checks, function-call bindings, and temporal logic operators to coordinate behavior across your Stateflow chart.
- Filter Transient Signals
Filter transient signals in your control systems to prevent unwanted responses and create stability by using debouncing techniques.