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