Main Content

Signal Routing

Route signal blocks such as Bus Creator and Switch

Use blocks from the Signal Routing library to create composite signals, manage data stores, and switch between inputs.

Blocks

Bus AssignmentAssign new values to specified bus elements
Bus CreatorGroup input signals or messages into bus
Bus SelectorSelect elements from input bus
Data Store MemoryDefine data store
Data Store ReadRead data from data store
Data Store WriteWrite data to data store
DemuxExtract and output elements of virtual vector signal
Environment Controller(Removed) Create branches of block diagram that apply only to simulation or only to code generation
FromAccept input from Goto block
GotoPass block input to From blocks
Goto Tag VisibilityDefine scope of Goto block tag
Index VectorSwitch output between different inputs based on value of first input
Manual SwitchSwitch between two inputs
Manual Variant SinkSwitch between multiple variant choices at output
Manual Variant SourceSwitch between multiple variant choices at input
MergeCombine multiple signals into single signal
Multiport SwitchSelect output signal based on control signal
MuxCombine input signals of same data type and complexity into virtual vector
Parameter WriterWrite to block parameter or model workspace variable
SelectorSelect input elements from vector, matrix, or multidimensional signal
State ReaderRead a block state
State WriterWrite to a block state
SwitchSwitch output between first input and third input based on value of second input
Variant SinkRoute amongst multiple outputs using variants
Variant SourceRoute among multiple inputs using variants
Vector ConcatenateConcatenate input vectors of same data type for iterative processing