na_0011: Scope of Goto and From blocks

Sub ID Recommendations

  • NA-MAAB — a

  • JMAAB — a

MATLAB Versions

All

Rule

Sub ID a

Goto block parameter tag visibility shall be set to Local.

Custom Parameter

Not Applicable

Rationale

Sub ID a:

  • When hierarchies of the Goto block and corresponding From block are different, the connection relationships can be difficult to understand.

  • Simulation errors can occur when hierarchies of the Goto block and corresponding From block are different and a virtual subsystem changes to an Atomic subsystem.

Verification

Model Advisor check: Check scope of From and Goto blocks (Simulink Check)

Last Changed

R2020a

Introduced in R2020a