Define scope of Goto block tag
Simulink / Signal Routing
The Goto Tag Visibility block defines the accessibility of
Goto block tags that have
scoped visibility. The
value you specify for the Goto tag block parameter is accessible by
From blocks in the same subsystem that contains the Goto Tag
Visibility block and in subsystems below it in the model hierarchy.
A Goto Tag Visibility block is required for Goto blocks whose
Tag Visibility parameter value is
Goto Tag Visibility block is needed if the tag visibility is either
global. The block shows the tag name
enclosed in braces (
Goto block in a masked system is visible only in that subsystem and
in the nonvirtual subsystems it contains. Simulink® generates an error if you run or update a diagram that has a
Goto Tag Visibility block at a lower level in the block diagram
than the corresponding
Goto block in the masked subsystem.
Goto tag— Goto block tag whose visibility is defined by the location of this block
A(default) | ...
The Goto block tag whose visibility is defined by the location of this
block. From and Goto blocks using the
specified tag must be in the same subsystem or at any level in the model
hierarchy below the Goto Tag Visibility block that does not
entail crossing a nonvirtual subsystem boundary, in other words, the
boundary of an atomic, conditionally executed, or function-call subsystem or
a model reference. A scoped tag name is enclosed in braces
If you use multiple From and Goto Tag Visibility blocks to refer to the same Goto tag, you can simultaneously rename the tag in all of the blocks. Use the Rename All button in the Goto block dialog box.