Stateflow | ![]() ![]() |
Adding Events to the Data Dictionary
You can use either the Stateflow editor or Explorer to add events that are visible everywhere in a chart. You must use the Stateflow Explorer to add events that are visible everywhere in a state machine or only in a particular state.
Using the Stateflow Editor
To use the Stateflow editor to add an event:
Stateflow adds a default definition of the new event to the Stateflow data dictionary and displays the Event dialog box. Use the Event dialog box to specify event options (see Event Dialog Box).
Using the Explorer
To use the Stateflow Explorer to define an event:
Stateflow opens the Explorer.
Stateflow adds a default definition for the new event in the data dictionary
and displays an entry for the new event in the Explorer's content pane.
![]() | Defining Events and Data | Changing Event Properties | ![]() |