User`s guide

Signal To Workspace
5-394
Matching the Outputs of Signal To Workspace and To Workspace Blocks
The To Workspace block in Simulink’s Sinks Library and the Signal To
Workspace block can output the same array if they are given the same inputs.
To match the blocks’ outputs, set their parameters as follows.
Examples Example 1: Sample-Based Inputs. In the following Example 1 model, the input to
the Signal To Workspace block is a 2-by-2 sample-based matrix signal with a
sample time of 1 (generated by a Signal From Workspace block). The Signal To
Workspace block logs 11 samples by the end of the simulation, and creates a
2-by-2-by-11 array, A, in the MATLAB workspace.
Frame-based M-by-N matrix;
Frame set to Log frames
separately (3-D array)
M-by-N-by-K array
Frame-based M-by-N matrix;
Frame set to Concatenate
frames (2-D array)
(K
f)-by-N matrix
K
f is the number of samples acquired by the end of the
simulation.
Block Parameters Signal To Workspace To Workspace
Limit data points to last x (any positive integer or
inf)
x
Decimation y (any positive integer, not
inf)
y
Sample Time No such parameter -1
Save format No such parameter Array
Frames Concatenate frames
(2-D array)
No such parameter
Input Signal Type Signal To Workspace Output Dimension