| Stateflow User's Guide | ![]() |
Creating a State
You create states by drawing them in the Stateflow diagram editor for a particular Stateflow chart (block). The following is a depiction of the Stateflow diagram editor:
The label for a state specifies its required name and optional actions. See Labeling States for more detail.
To delete a state, click it to select it and choose Cut (Ctrl+X) from the Edit or any shortcut menu or press the Delete key.
| Creating States in Stateflow Charts | Moving and Resizing States | ![]() |
© 1994-2005 The MathWorks, Inc.