User`s guide
3 Basic Procedures
3-44
Entering Data Archiving Parameters
The Data Archiving dialog box is related to the Scope parameters dialog box.
In the
Scope parameters dialog box, you must select the Save data to
workspace
check box to be able to save data to a disk drive, for two reasons:
• The data is first transferred from the scope data buffer to the MATLAB
workspace before being written to a MAT-file.
• The
Variable name entered in the Scope parameters dialog box is the same
as the one in the MATLAB workspace and the MAT-file. Enabling the data
to be saved enables a variable named with the
Variable name parameter to
be saved to a MAT-file.
If you do not select the
Save data to workspace check box in the Scope
parameters
dialog box, the MAT-files for data logging will be created, but they
will be empty.
After you create a Simulink model, you can enter the Data Archiving
Parameters for data logging to a disk drive:
1 In the Simulation window, and from the Tools menu, click External Mode
Control Panel
.
The
External Mode Control Panel dialog box opens.