| Using Stateflow | Search  Help Desk |
Event Broadcasting
You can specify an event to be broadcast in the action language. Events have hierarchy (a parent) and scope. The parent and scope together define a range of access to events. It is primarily the event's parent that determines who can trigger on the event (has receive rights). See "Event Parent" for more information. Broadcasting an event in the action language is most useful as a means of synchronization amongst AND (parallel) states. Recursive event broadcasts can lead to definition of cyclic behavior. Cyclic behavior can be detected only during simulation.Example: Event Broadcast State Action
This is an example of the event broadcast state action notation.
Example: Event Broadcast Transition Action
This is an example of the event broadcast transition action notation.