Stateflow Onramp

Access through Simulink® or Simulink Online


Engaging video tutorials


Hands-on exercises with automated assessments and feedback


Lessons available in English and Japanese

Explore Course Lessons


Course Overview

Familiarize yourself with the course.


State Machines and Stateflow

Understand state machines and how to create them in Stateflow.


Creating State Charts

Learn how to create Stateflow charts.


Stateflow Symbols and Data

Understand Stateflow data and data scope.


Chart Actions

Control chart execution with actions.


Chart Execution

Learn about the relationship between Stateflow chart execution and Simulink.


Project: Robotic Vacuum

Model the supervisory control for a home vacuum robot.


Flow Charts

Use flow charts to model common logic patterns.


Functions in Stateflow

Improve chart readability and reuse code using functions.


Chart Hierarchy

Organize your charts using hierarchy.


Project: Robotic Vacuum Driving Modes

Model the driving modes for a home vacuum robot.

How to Get Started

If you are eligible to use Simulink Online (see if you are eligible):

For all other users:

  1. Launch MATLAB® (R2019b or later) on your desktop and open Simulink.
  2. Download the latest version of Stateflow if you already have a license, or request a free trial.
  3. Select Stateflow Onramp from the Simulink start page.

Related Courses

Stateflow for Logic Driven System Modeling

A comprehensive introduction to developing state machines with Stateflow.

Simulink Onramp

Get started quickly with the basics of Simulink.