DSP Blockset | ![]() ![]() |
Importing a Multichannel Frame-Based Signal
The Signal From Workspace block in the DSP Sources library is the key block for importing frame-based signals from the MATLAB workspace.
The dialog box has the following parameters:
Use the Signal parameter to specify the name of a variable (vector or matrix) in the MATLAB workspace. You can also enter any valid MATLAB expressions involving workspace variables, as long as the expressions evaluate to a vector or matrix.
The Samples per frame parameter must be set to a value greater than 1
for frame-based output; a value of 1
produces sample-based output. See Importing a Multichannel Sample-Based Signal for more information.
The Sample-time parameter specifies the sample period, Ts, of the frame-based output. The frame period of the signal is M*Ts, where M is the value of the Samples per frame parameter. See Frame-Based Multichannel Signals for general information about frame-based signals.
The following section explains how the Signal From Workspace block generates its frame-based output.
![]() | Example: Importing a Sample-Based Matrix Signal | Importing a Frame-Based Signal with the Signal From Workspace Block | ![]() |