User`s guide

Signal Logging to a Disk Drive
3-39
1 In the Simulink window, double-click the Scope block.
A Scope window opens.
2 On the toolbar, click the Parameters button.
A
Scope parameters dialog box opens.
3 Click the Data history tab.
4 Do one of the following:
- If you are running a simulation, you can select the
Limit data points to
last
check box, and enter the number of sample points to save.
- If you are running an execution, do not select the select the
Limit data
points to last
check box.
The
Limit data points to last check box is related to the Duration value in
the
External Signal and Triggering dialog box. The smaller of either value
limits the number of sample points saved to the MATLAB workspace. When
using the Real-Time Windows Target, we recommend that you use the
Duration
value to set the number of sample points you save.
To set the
Duration value, see “Entering Signal and Triggering Properties”
on page 3-41.
5 Select the Save data to workspace check box. In the Variable name text
box, enter the name of a MATLAB variable. The default name is
ScopeData.