Stateflow Onramp

Learn the basics of Stateflow® for representing supervisory control and complex decision logic. Use state machines and flow charts to efficiently model and simulate instantaneous changes in dynamic systems.

Course modules

Course Overview

Familiarize yourself with the course.

Lessons:
  • Course Overview

State Machines and Stateflow

Understand state machines and how to create them in Stateflow.

Lessons:
  • State Machines
  • Running a Stateflow Chart

Creating State Charts

Learn how to create Stateflow Charts.

Lessons:
  • The Stateflow Editor
  • Transitions, Conditions, and States
  • Temporal Logic
  • Default Transitions and Unreachable States

Stateflow Symbols and Data

Understand Stateflow Data and Data Scope.

Lessons:
  • Stateflow Data
  • The Symbols Pane
  • Inputs, Outputs, and Simulink

Chart Actions

Control chart execution with actions.

Lessons:
  • Chart Actions
  • Creating Chart Actions
  • The During Action

Chart Execution

Learn about the relationship between Stateflow chart execution and Simulink.

Lessons:
  • Chart Execution in Simulink
  • Summary

Project - Robotic Vacuum

Model the supervisory control for a home vacuum robot.

Lessons:
  • Project - Robotic Vacuum

Flow Charts

Use flow charts to model common logic patterns.

Lessons:
  • Flow Charts

Functions in Stateflow

Improve chart readability and reuse code using functions.

Lessons:
  • Functions in Stateflow
  • Graphical Functions in Stateflow
  • MATLAB Functions in Stateflow

Chart Hierarchy

Organize your charts using hierarchy.

Lessons:
  • Chart Hierarchy

Project - Robotic Vacuum Driving Modes

Model the driving modes for a home vacuum robot.

Lessons:
  • Project - Robotic Vacuum Driving Modes

Conclusion

Learn about next steps and give feedback on the course.

Lessons:
  • Additional Resources
  • Survey

Simulink Onramp

Get started quickly with the basics of Simulink.

Control Design Onramp with Simulink

Get started quickly with the basics of feedback control design in Simulink.

MATLAB Onramp

Get started quickly with the basics of MATLAB.

Simulink Onramp

Get started quickly with the basics of Simulink.