To debug a small section of a lengthy simulation, trigger data capture in external mode by using a trigger signal. Log the data to your workspace and to a MATLAB® file for later analysis.
Log to Workspace
Save data to a variable in the MATLAB base workspace.
Log to File
Save data to a file on the development computer.
- STEP 1: Set Scope Parameters for Logging to File
- STEP 2: Set Run in Kernel Mode Properties for Logging to File
- STEP 3: Set Run in Kernel Mode Data Archiving Parameters
- STEP 4: Plot Signal Data Logged to File
Learn about the file system capabilities and constraints of Simulink® Desktop Real-Time™.