Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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

For check details, see Check for event broadcasts in Stateflow charts (Simulink Verification and Validation).

Introduced in R2010a

Was this topic helpful?