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.

The steps in this process are:

If your model containsOutportblocks, you cannot save signal data inRun in Kernelmode. Simulink®supports signal logging withOutportblocks inConnected IOmode or accelerator modes only, when Simulink runs the simulation algorithm.

Tip

InRun in Kernelmode, do not enter or select parameters on theData I/Otab in the Configuration Parameters dialog box. Instead, add aScopeblock to your Simulink model to log signal data.

Related Topics