Real-Time Windows Target | ![]() ![]() |
Signal Logging to a Disk Drive
Signal logging is the process of saving (logging) data to a variable in your MATLAB workspace and then saving that data to a MAT-file on your disk drive. This allows you to use MATLAB functions for data analysis and MATLAB plotting functions for visualization. Using the data archiving feature provide in the External Mode Control Panel, you can save data to a file during an execution. You cannot save data to a disk drive during a simulation.
To use the data archiving feature with the Real-Time Windows Target, you must add a Scope block to your Simulink model, and you must run an execution of a real-time application.
This section includes the following topics:
Simulink external mode does not support data logging with Outport blocks in your Simulink model. This means you do not enter or select parameters on the Workspace I/O pane in the Simulation Parameters dialog box.
![]() | Plotting Logged Signal Data | Entering Scope Parameters | ![]() |