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
- Signal Logging to the Workspace
Save data to a variable in the MATLAB base workspace.
Log to File
- Signal Logging to a File
Save data to a file on the development computer.
- File System I/O
Learn about the file system capabilities and constraints of Simulink® Desktop Real-Time™.