| Stateflow User's Guide |
 |
Using the Model Explorer with Stateflow Objects
The Model Explorer displays any object in the Stateflow hierarchy. You can also use the Model Explorer as a platform for creating, modifying, and deleting Stateflow objects. You can also display, create, modify, and delete target objects for generating code and building the simulation application in the Model Explorer.
You can create data, events, and targets in the Stateflow diagram editor and in the Model Explorer. However, the Model Explorer is the only location where you can modify and delete existing data, events, and targets.
The following topics describe the use of the Model Explorer for creating, modifying, and deleting Stateflow objects:
- Viewing Stateflow Objects in the Model Explorer -- Tells you how to open the Stateflow Explorer in the Stateflow diagram editor.
- Editing States or Charts in the Model Explorer -- Shows you how to edit states and charts from the Stateflow Explorer.
- Adding Data and Events in the Model Explorer -- Shows you how to create data in the Model Explorer and objects and which of their properties are displayed in the Stateflow Explorer.
- Adding a Target in the Model Explorer -- Describes target objects as they appear in the Stateflow Explorer.
- Setting Properties for Stateflow Objects in the Model Explorer -- Shows you how to set the properties of data, events, and targets from the Stateflow Explorer.
- Moving and Copying Data, Events, and Targets in the Model Explorer -- Shows you how to move and copy events, data, and targets to different owning objects in Stateflow Explorer.
- Changing the Port Order of Input and Output Data and Events -- Shows you how to change the order of input and output data and event ports as they appear on the Stateflow block in the Simulink model.
- Deleting Data, Events, and Targets in the Model Explorer -- Shows you how to delete events, data, and targets in the Explorer.
| Exploring and Modifying Charts | | Viewing Stateflow Objects in the Model Explorer |  |
© 1994-2005 The MathWorks, Inc.