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 containsOutport
blocks, you cannot save signal data inRun in Kernelmode. Simulink®supports signal logging withOutport
blocks 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 aScope
block to your Simulink model to log signal data.