Stateflow 图
以图形形式设计模态逻辑
对包含有限数量的状态的系统进行建模。使用状态以图形方式表示系统的模式。条件转移提供这些模式之间的路径。通过状态和转移中的动作来控制系统的行为。
模块
函数
主题
- 使用 Stateflow 图对有限状态机进行建模
表示事件驱动的反应式系统。
- Stateflow 对象概述
了解可以在 Stateflow® 图中使用的状态、转移和其他对象。
- 通过使用状态来表示工作模式
创建状态以描述反应式系统的工作模式。
- 工作模式之间的转移
使用条件转移作为状态之间的路径。
- Resume Prior Substate Activity by Using History Junctions
Create history junctions that record the active substates of a state.
- Create Entry and Exit Connections Across State Boundaries
Improve componentization by isolating the transition logic for entering and exiting states.