控制时序和执行
调整图的时序和执行语义,以便与 Simulink® 模型集成。通过使用状态更新速率、事件优先级和执行上下文来控制执行。使用事件和转移处理来避免意外行为。
主题
- 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.