| Stateflow User's Guide | ![]() |
| Adding a Sensor to the Model |
Add the equivalent of a sensor to the Simulink model as data and a regularly occurring event. |
| Adding a Junction for Flow Control |
Modify a Stateflow diagram to use junctions to add control that chooses between state destinations. While doing this, also learn how to edit diagrams. |
| Adding a Graphical Function for Convenience |
Use a graphical function to make a Stateflow diagram more readable. |
| Simulating with a Sensor Event, Junction, and Function |
Simulate the junction and graphical function you added to the example model. |
| Simulating Junction Behavior |
Demonstrate junction behaviors with small changes to the model. |
| Introducing Stateflow Semantics |
Understand how Stateflow uses semantics in determining the behaviour of diagrams and review the semantics rules that you have learned in previous exercises. |
| Using Junctions in Flow Diagrams |
Use junctions without states to create visible programming flow diagrams. |
| Simulating Event Triggers and Modified Output Data | Adding a Sensor to the Model | ![]() |
© 1994-2005 The MathWorks, Inc.