na_0011: Scope of Goto and From blocks
Sub ID Recommendations
NA-MAAB — a
JMAAB — a
MATLAB Versions
All
Rule
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
See Also
JMAAB guideline na_0011, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.
Version History
Introduced in R2020a