DSP Blockset | ![]() ![]() |
Importing a Multichannel Sample-Based Signal
The Signal From Workspace block in the DSP Sources library is the key block for importing sample-based signals of all dimensions from the MATLAB workspace.
The dialog box has the following parameters:
Use the Signal parameter to specify the name of a variable (vector, matrix, or 3-D array) in the MATLAB workspace. You can also enter any valid MATLAB expressions involving workspace variables, as long as the expressions evaluate to a vector, matrix, or 3-D array.
The Samples per frame parameter must be set to 1
for sample-based output; any value larger that 1
produces a frame-based output. See Importing a Multichannel Frame-Based Signal for more information. The Sample-time parameter specifies the sample period of the sample-based output. See Sample-Based Multichannel Signals for general information about sample-based signals.
The following sections explain how the Signal From Workspace generates its output:
![]() | Importing Signals | Importing a Sample-Based Vector Signal | ![]() |