Stateflow User's Guide Previous page   Next Page

Adding Events in the Stateflow Diagram Editor

If you add events in the Stateflow diagram editor, they are parented by the Stateflow diagram and are visible to all objects in the chart. To add an event in the Stateflow diagram editor, do the following:

  1. From the Add menu of the Stateflow editor, select Event.
  2. In the resulting pop-up menu, select one of the following scopes for the use of the event:
  1. Stateflow adds a default definition of the new event to the Stateflow data dictionary and displays the Event dialog box.

  1. Specify properties for the event specified in the Event dialog box.
  1. See Setting Event Properties in the Event Dialog for a description of the property fields of the Event dialog box.


Previous page  Adding Events Adding Events in the Model Explorer Next page

© 1994-2005 The MathWorks, Inc.