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.
For example, this model uses a Goto block and a From block.
An equivalent model passes the Sine Wave block signal directly to the Gain block.
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.
To associate a Goto block with a From block, enter the Goto block tag in the Goto Tag parameter.
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.
Selecting a Goto block highlights the corresponding From blocks.
Similarly, selecting a From block highlights the corresponding Goto block.
When a subsystem contains a corresponding Goto or From block, the Subsystem block is highlighted.
The From block supports signal label propagation.
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|