From
Accept input from Goto block
- Library:
Simulink / Signal Routing
HDL Coder / Signal Routing
Description
TheFromblock accepts a signal from a correspondingGotoblock, then passes it as output. The data type of the output is the same as that of the input from theGotoblock.From和Gotoblocks allow you to pass a signal from one block to another without actually connecting them.
For example, this model uses aGotoblock and aFromblock.
An equivalent model passes theSine Waveblock signal directly to theGainblock.
AFromblock can receive its signal from only oneGotoblock, although aGotoblock can pass its signal to more than oneFromblock.
To associate aGotoblock with aFromblock, enter theGotoblock tag in theGoto Tagparameter.
The visibility of aGotoblock tag determines theFromblocks that can receive its signal. For more information, seeGoto和Goto Tag Visibility. The block indicates the visibility of theGotoblock tag:
A local tag name is enclosed in brackets (
[]
).A scoped tag name is enclosed in braces (
{}
).全球标记名称似乎没有额外的性格cters.
Selecting aGotoblock highlights the correspondingFromblocks.
Similarly, selecting aFromblock highlights the correspondingGotoblock.
When a subsystem contains a correspondingGotoorFromblock, theSubsystemblock is highlighted.
The From block supportssignal label propagation.
Ports
Output
Parameters
Model Examples
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|