To log signal values and times, add a real-time file Scope block or an Outport block to your model. At run time, add a real-time file scope with Simulink® Real-Time™ Explorer. See Signal Logging Basics and File Scope Usage.
A file scope creates a file on the target computer that you can download to the development computer for offline analysis. See File System Basics.
An Outport block produces a vector of signal states and times in RAM on the target computer. To download it onto the development computer and store the vector in a file for analysis, use MATLAB®.
|Simulink Real-Time Explorer||Interact with target computer and real-time application running on target computer|
|Simulink Real-Time Target Computer Explorer (Tech Preview)||Interact with target computer and real-time application running on target computer|
|Simulink Real-Time Target Computer Manager||Interact with target computer|
|Configure target computer and real-time application for execution|
|Read real-time |
|Generate file for use by real-time From File block|
|Configure connection to target computer and real-time application for execution|
|Scope||Real-time Scope block|
Acquire signal data while running a real-time application and transfer the data to the development computer for analysis.
Access the target computer file system with the
Calculate the buffer size that is required for signal logging.
Learn about usage issues that are common to all Simulink Real-Time Scope types.
Learn about usage issues that are unique to file scopes.
Find and view signals and parameters with hierarchical path information.
Learn about configuring scopes so that they wait until triggered to acquire data.
Learn about configuring scopes so that they acquire data before or after the trigger event.
Learn about configuring scopes so that they acquire data in response to the triggering of another scope.
Prepare to log signal and time data on the target computer with real-time Scope blocks in file mode.
Log state and time data for later analysis by using file scopes.
Prepare to log data to a file on the target computer.
Acquire signal data and store it in multiple files on the target computer.
Log signal data by using an Outport block and Simulink Real-Time specific logging functions.
Create a user interface model by using the To Target and From Target blocks.
Configure scopes to trigger automatically or in response to user action.
Sample the output data for display and processing.
Group signals across hierarchical model boundaries.
Apply data logging modes to trace signal data or to log signal data.
Troubleshoot problems that you encounter while using the Simulink Real-Time product