| Stateflow User's Guide | ![]() |
Opening the Diagram for a Stateflow Block
You use Stateflow blocks to program the control of an object in the physical plant that you model in Simulink. For example, you might want the Stateflow block to decide if plant pressure or temperature is too high and make a decision to turn on a motor-driven device to reduce plant temperature or pressure. You program this control in a Stateflow diagram for a Stateflow block in Simulink.
Open the Stateflow diagram for the Controller block as follows:
In the empty window you just opened, notice the following:
SFcontrol1).
| Saving a Simulink Model | Drawing States in Stateflow Diagrams | ![]() |
© 1994-2005 The MathWorks, Inc.