Main Content

Stateflow Onramp

Free, self-paced, interactive Stateflow course

Since R2019b


Stateflow® Onramp is a free, self-paced, interactive course that helps you get started with Stateflow.

After completing Stateflow Onramp, you will be able to use the Stateflow environment and build Stateflow charts based on real-life examples.

Stateflow Onramp teaches you to:

  • Model state machines with Stateflow charts.

  • Use Stateflow symbols and data.

  • Control chart execution with actions.

  • Simulate Stateflow charts with Simulink®.

  • Create flow charts to model common logic patterns.

  • Improve chart readability and reuse code with functions.

  • Organize charts using hierarchy.

Stateflow Onramp uses tasks to teach concepts incrementally, such as through a real-life example with a robotic vacuum. You receive automated assessments and feedback after submitting tasks. Your progress is saved when you exit the course, so you can complete the course in multiple sessions.

Stateflow Onramp describes the task, displays an interactive model, and assesses whether the model matches the requirements set by the training.

Open the Stateflow Onramp

  • Simulink Start Page: On the Learn tab, click the Launch button that appears when you pause on Stateflow Onramp.

  • Stateflow chart: On the quick access toolbar, click Help > Learn Stateflow.

  • MATLAB® Command Window: Enter learning.simulink.launchOnramp("stateflow").


If you do not have a Stateflow license, you can take the course at Self-Paced Online Courses.

Version History

Introduced in R2019b