User`s guide

3 Basic Procedures
3-42
4 In the Duration box, enter the number of sample points in a data buffer. For
example, if you have a sample rate of 1000 samples/second and a stop time
of 10 seconds, then enter
10000
The Duration value is related to the Limit data points to last value in the
Scope parameters dialog box. The smaller of either value limits the number
of sample points saved to the MATLAB workspace. We recommend that you
do not select the
Limit data points to last check box, and use the Duration
value to set the number of sample points saved.
The
Duration value specifies the number of contiguous points of data to be
collected in each buffer of data. We recommend that you enter a
Duration
value equal to the total number of sample points you need to collect for a run.
If you enter a value much less than the total number of sample points, you
may lose logging sample points due to the time needed to transfer values
from the data buffer to the MATLAB workspace.
We also recommend setting the time axis for Simulink Scope blocks equal to
the sample interval (in seconds) times the number of points in each data
buffer. This setting will display one buffer of data across the entire Simulink
Scope plot.
The
External Signal & Triggering dialog box will look similar to the figure
shown below.