Contents

jm_0012: Event broadcasts

ID: Title

jm_0012: Event broadcasts

Priority

Strongly recommended

Scope

MAAB

MATLAB Versions

All

Description

The following rules apply to event broadcasts in Stateflow®:

  • Directed event broadcasts are the only type of event broadcasts allowed.

  • The send syntax or qualified event names are used to direct the event to a particular state.

  • Multiple send statements should be used to direct an event to more than one state.

Correct: Example Using Send Syntax

Correct: Example Using Qualified Event Names

Incorrect: Use of a non-directed event

Rationale

  • Readability

  • Workflow

  • Verification and Validation

  • Code Generation

  • Simulation

Last Changed

V2.2

Model Advisor Check

By Task > Modeling Standards for MAAB > Stateflow > Check for event broadcasts in Stateflow charts

Was this topic helpful?