User`s guide
Importing Signals
3-63
Sample-time parameter specifies the sample period of the sample-based 
output. See “Sample-Based Multichannel Signals” on page 3-11 for general 
information about sample-based signals.
The following sections explain how the Signal From Workspace generates its 
output:
•“Importing a Sample-Based Vector Signal” on page 3-63
•“Importing a Sample-Based Matrix Signal” on page 3-65
Importing a Sample-Based Vector Signal
The Signal From Workspace block generates a sample-based vector signal 
when the variable (or expression) in the 
Signal parameter is a matrix and 
Samples per frame = 1. Beginning with the first row of the matrix, the block 
releases a single row of the matrix to the output at each sample time. 
Therefore, if the 
Signal parameter specifies an M-by-N matrix, the output of 
the Signal From Workspace block is a 1-by-N matrix (row vector), representing 
N channels.
The figure below illustrates this for a 6-by-4 workspace matrix,
A.
As the figure above suggests, the output of the Signal From Workspace block 
can only be a valid sample-based signal (having N independent channels) if the 
M-by-N workspace matrix
A in fact represents N independent channels, each 
sample 6
sample 5
sample 4
sample 3
sample 2
Sample-based vector signal:
4 channels 
MATLAB workspace matrix, A:
4 channels, 6 samples each
ch1 ch2 ch3 ch4
2222
3333
4444
5555
sample 1
ch1 ch2 ch3 ch4
1
2
3
4
5
6
1
2
3
4
5
6
1
2
3
4
5
6
1
2
3
4
5
6
6666
1111










