Accept input from Goto block
Simulink / Signal Routing
HDL Coder / Signal Routing
The From block accepts a signal from a corresponding Goto block, then passes it as output. The data type of the output is the same as that of the input from the Goto block. From and Goto blocks allow you to pass a signal from one block to another without actually connecting them. To associate a Goto block with a From block, enter the Goto block's tag in the Goto Tag parameter.
A From block can receive its signal from only one Goto block, although a Goto block can pass its signal to more than one From block.
This figure shows that using a Goto block and a From block is equivalent to connecting the blocks to which those blocks are connected. In the model at the left, Block1 passes a signal to Block2. That model is equivalent to the model at the right, which connects Block1 to the Goto block, passes that signal to the From block, then on to Block2.
The visibility of a Goto block tag determines the From blocks that can receive its signal. For more information, see Goto and Goto Tag Visibility. The block indicates the visibility of the Goto block tag:
A local tag name is enclosed in brackets ([]
).
A scoped tag name is enclosed in braces ({}
).
A global tag name appears without additional characters.
The From block supports signal label propagation.
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|