Using Stateflow     Search    Help Desk 

Chapter 3
Defining Events and Data


Defining Events

An event is a Stateflow object that triggers actions in a state machine or its environment. Stateflow defines a set of events that typically occur whenever a state machine executes (see "Implicit Events"). You can define other types of events that occur only during execution of a specific state machine or its environment.

To define an event:

   1.
Add a default definition of the event to the Stateflow data dictionary (see "Adding Events to the Data Dictionary").
   2.
Set the new event's properties to values that reflect its intended usage (see "Setting Event Properties").


[ Previous | Help Desk | Next ]