Main Content

Signal Logging

Visualize signal logging in the Simulation Data Inspector from runs of the real-time application

To log signal values and times, mark signals for logging with the Simulation Data Inspector or add a File Log to your model. See Signal Logging Basics.

A File Log block collects signal data on the target computer that is sent to the development computer after each simulation run. Or, if the target computer is not connected to the development computer, you can upload the data to the development computer when you connect to the target computer.

Tools

Simulink Real-Time ExplorerInteract with target computer and real-time application running on target computer
Simulink Real-Time TET MonitorMonitor task execution time for the real-time application running on target computer

Functions

slrtExplorerOpen Simulink Real-Time explorer and interact with target computers and real-time applications
slrtTETMonitorOpen Simulink Real-Time task execution time (TET) monitor
enableStart file logging of signal data
disableStop file logging of signal data
listGet information about available file logs of signal data
importImport file log data from target computer
discardDelete file log data from target computer
slrealtime.fileLogImportImport file logs copied from target computer into Simulation Data Inspector
slrealtime.fileLogListList available file logs copied from target computer

Blocks

File LogWrite signal data file log on target computer
Enable File LogEnable or disable file logging of signals on target computer
ScopeDisplay signals generated during simulation

Topics

Background

Signal Logging Basics

Acquire signal data while running a real-time application and transfer the data to the development computer for analysis.

Display and Filter Hierarchical Signals and Parameters

Find and view signals and parameters with hierarchical path information.

Data Logging with Simulink Blocks

File LogWrite signal data file log on target computer
Enable File LogEnable or disable file logging of signals on target computer

Data Logging with the Simulation Data Inspector

Data Logging with Simulation Data Inspector (SDI)

This example shows how to use a Simulink® Real-Time™ log of signal data and the Simulation Data Inspector. Signals are logged during model execution.

Limitations

Troubleshoot Signals Not Accessible by Name

Investigate issues for some signal types prevent monitoring, tracing, or logging.

Internationalization Issues

Learn about Simulink® Real-Time™ support for internationalization.

Troubleshooting

Troubleshooting in Simulink Real-Time

Troubleshoot problems that you encounter while using the Simulink Real-Time product