| Using Stateflow | Search  Help Desk |
Overview
Objectives
After completing this tutorial you should be able to:Provided Models for This Chapter
The files associated with the tutorial example, the running solution, and the demo are included and accessible from the Examples block.Carousel Tutorial Example
A carousel is a familiar reactive system that you can model with a Stateflow diagram. The system reacts based upon the operator's actions. This tutorial focuses on learning the notation and the methods to create an initial Stateflow diagram for the carousel. The completed tutorial example cannot be simulated. The provided solution includes a Simulink model and can be simulated. The demo is more elaborate and shows how the Simulink model can be combined with a graphical user interface (GUI).Basic Operation
The carousel is divided into these main physical components: