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 Assignment | Assign new values to specified bus elements |
Bus Creator | Group input signals or messages into bus |
Bus Selector | Select elements from input bus |
Data Store Memory | Define data store |
Data Store Read | Read data from data store |
Data Store Write | Write data to data store |
Demux | Extract 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 |
From | Accept input from Goto block |
Goto | Pass block input to From blocks |
Goto Tag Visibility | Define scope of Goto block tag |
Index Vector | Switch output between different inputs based on value of first input |
Manual Switch | Switch between two inputs |
Manual Variant Sink | Switch between multiple variant choices at output |
Manual Variant Source | Switch between multiple variant choices at input |
Merge | Combine multiple signals into single signal |
Multiport Switch | Select output signal based on control signal |
Mux | Combine input signals of same data type and complexity into virtual vector |
Parameter Writer | Write to block parameter or variable |
Selector | Select input elements from vector, matrix, or multidimensional signal |
State Reader | Read a block state |
State Writer | Write to a block state |
Switch | Switch output between first input and third input based on value of second input |
Variant End | Define end of bounded region (Since R2024a) |
Variant Sink | Route amongst multiple outputs using variants |
Variant Source | Route among multiple inputs using variants |
Variant Start | Define start of bounded region (Since R2024a) |
Vector Concatenate | Concatenate input vectors of same data type for iterative processing |