Main Content

Signal Logging to the Workspace

Logging signals to the workspace saves data to a variable in your MATLAB® base workspace. You can 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.

If your model contains Outport blocks, you cannot save signal data in Simulink® external mode. Simulink supports signal logging with Outport blocks in normal or accelerator modes only, when Simulink runs the simulation algorithm.


In external mode, do not enter or select parameters on the Data I/O tab in the Configuration Parameters dialog box. Instead, add a Scope block to your Simulink model to log signal data.

Related Topics