Goto
Transfers the block input to the block From.
Description
The Goto block passes its input signal to the corresponding From blocks. The input can be a real or complex signal, or a vector of any data type. The From and Goto blocks allow to transfer a signal from one block to another without actually connecting them.
A Goto block can pass its input signal to more than one From block, although a From block can only receive a signal from one Goto block. The input signal of that Goto block is transmitted to the From blocks associated with it as if the blocks were physically connected.
Goto blocks and From blocks are matched using tags.
The tag visibility parameter defines where From blocks can access the signal.
Ports
Input
Port_1 - input signal
scalar
| vector
| matrix
| multidimensional array
Input signal to be passed to the corresponding block From as a scalar, vector, matrix or multidimensional array.
-
Data types:
Float16
,Float32
,Float64
,Int8
,Int16
,Int32
,Int64
,Int128
,UInt8
,UInt16
,UInt32
,UInt64
,UInt128
,Bool
,Fixed
,bus
.
Parameters
Goto Tag - block identifier
A (by default)
| …
.
Identifier of Goto block. This parameter identifies the Goto block whose scope is defined in the Goto Tag Visibility block.
Block parameter |
|
Values |
|
* By default* |
|
Tag visibility - the scope of the *Goto block tag.
local (by default)
| global
The scope of the Goto block tag as local
, scoped
or global
. When you set this parameter to scoped
, you must use the Goto Tag Visibility block to define the tag’s scope.
-
local
(By default) - From and Goto blocks that use the same tag must be in the same subsystem. The name of the local tag is enclosed in square brackets ([]).
-
global
- blocks From and Goto, using the same tag, can be located anywhere in the model, except for places that cover non-virtual boundaries of the subsystem.
The rule that connections of blocks From - Goto cannot cross non-virtual subsystem boundaries has the following exception. A Goto block connected to a state port in one conditionally executable subsystem is visible to a From block inside another conditionally executable subsystem.
Use |
Block parameter |
|
Value |
|
By default |
|