na_0011: Scope of Goto and From blocks
Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®
Sub ID Recommendations
NA-MAAB — a
JMAAB — a
Sub ID a
Goto block parameter
tag visibility shall be set to
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.
Model Advisor check: Check scope of From and Goto blocks (Simulink Check)
Introduced in R2020a