Stateflow | ![]() ![]() |
Opening Stateflow Explorer
Use one of the following methods for opening Stateflow Explorer:
Explorer Main Window
Shown below is the Explorer main window for the chart control logic in the demo Stateflow model fuelsys
(Sensor Failure Detection).
The Explorer main window has two panes: an Object Hierarchy pane on the left and a Contents pane on the right. The purpose of the Explorer tool is to display the data, event, and target objects parented (contained by) each graphical element in a Stateflow chart.
The Object Hierarchy pane (see Objects in the Explorer) displays the graphical elements of a Stateflow chart (machines, charts, states, boxes, and graphical functions). A preceding plus (+) character indicates that you can expand the hierarchy by double-clicking that entry or by clicking the plus (+) character. A preceding minus (-) character indicates that there is nothing to expand. Clicking an entry in the Object Hierarchy pane selects that entry.
The Contents pane displays the properties of data, event, and target objects parented by the currently selected object in the Object Hierarchy pane. Data and event objects are described in Defining Events and Data. See Targets in the Explorer for a quick introduction to target objects. For a more detailed description of target objects, see Building Targets.
![]() | The Stateflow Explorer Tool | Objects in the Explorer | ![]() |