Stateflow的

采用状态机和流程图建模和仿真决策逻辑

Stateflow的®provides a graphical language that includes state transition diagrams, flow charts, state transition tables, and truth tables. You can use Stateflow to describe how MATLAB®算法和Simulink金宝app®模型反应的输入信号,事件和基于时间的条件。

Stateflow的enables you to design and develop supervisory control, task scheduling, fault management, communication protocols, user interfaces, and hybrid systems.

With Stateflow, you model combinatorial and sequential decision logic that can be simulated as a block within a Simulink model or executed as an object in MATLAB. Graphical animation enables you to analyze and debug your logic while it is executing. Edit-time and run-time checks ensure design consistency and completeness before implementation.

入门

Stateflow的了解的基础知识

图编程

对于组合逻辑和时序逻辑程序的状态机

设计复杂的逻辑

遵循监管逻辑常见的设计模式

模拟在Simulink金宝app

模拟Stateflow图在Simulink模型块金宝app

执行在MATLAB

执行独立的Stateflow图,如MATLAB对象

验证和代码生成

测试,调试,记录数据,并生成代码