Real-Time Windows Target | ![]() ![]() |
Signal Logging to the MATLAB Workspace
Signal logging is the process of saving (logging) data to a variable in your MATLAB workspace or to a MAT-file on your disk drive. This allows you to use MATLAB functions for data analysis and MATLAB plotting functions for visualization. You can save data to a variable during a simulation or during an execution.
To use signal logging with the Real-Time Windows Target, you must add a Scope block to your Simulink model.
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.
![]() | Running a Real-Time Application from the MATLAB Command Line | Entering Scope Parameters | ![]() |