DSP Blockset | ![]() ![]() |
Splitting a Multichannel Signal into Individual Signals
You can split a frame-based multichannel signal into its constituent frame-based signals by using the Multiport Selector block in the Indexing library (in Signal Management).
Example: Splitting a Multichannel Frame-Based Signal. In the model below, a three-channel frame-based signal is split into a single-channel frame-based signal and a two-channel frame-based signal.
To build the model, make the following parameter settings:
The top (4-by-2) output from the Multiport Selector block contains the first and third input channels, and the bottom output contains the second input channel. The Multiport Selector block preserves the frame rate and frame size of the input as long as Select is set to Columns. See Frame-Based Multichannel Signals for more about frame-based signals.
Note that you could also create or import the two signals by using two distinct Signal From Workspace blocks. See the following sections for more information:
![]() | Deconstructing Multichannel Frame-Based Signals | Unbuffering a Frame-Based Signal into a Sample-Based Signal | ![]() |