Signal Logging to a File
Logging signals to a file saves data to a variable in your MATLAB®workspace, and then saves that data to a MAT-file. You can use MATLAB functions for data analysis and MATLAB plotting functions for visualization on the data in the MAT-file.
The steps in this process are:
If your model containsOutport
blocks, you cannot save signal data inRun in Kernelmode. Simulink®supports signal logging to a file inConnected IOmode or accelerator mode 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 and use it to log signal data for data archiving.