Decision Logic
Use Stateflow to model combinatorial and sequential decision logic in a control system. You can build readable logic structures by using state diagrams, flow charts, and state transition tables.
Use Stateflow to create embedded systems that require control, supervisory, and mode-based logic. Stateflow naturally models operating modes that you can easily integrate in your Simulink® model. Built-in debugging tools allow developers to identify and resolve logic issues.
Topics
- Share Data with Simulink and the MATLAB Workspace (Stateflow)
Define data to share with Simulink models and the MATLAB® base workspace.
- Monitor State Activity Through Active State Data (Stateflow)
Automatically track which state is active during simulation.
- Access Bus Signals (Stateflow)
Define Stateflow buses for input, output, and local access to Simulink bus signals.