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 and Streaming 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
Simulink Real-Time App GeneratorGenerate instrument panel app to interact with target computer and real-time application running on target computer
Simulation Data InspectorInspect and compare data and simulation results to validate and iterate model designs

Functions

slrtExplorerOpen Simulink Real-Time explorer and interact with target computers and real-time applications
slrtTETMonitorOpen Simulink Real-Time task execution time (TET) monitor
slrtAppGeneratorGenerate instrument panel app to interact with target computer and real-time application running on target computer
listGet information about available file logs of signal data
importImport file log data from target computer
discardDelete file log data from target computer
slrealtime.fileLogImportAfter copying file logs from target to development computer, import file logs into Simulation Data Inspector
slrealtime.fileLogListAfter copying file logs from target to development computer, list available file logs for import into Simulation Data Inspector
startRecordingStarts signal data live streaming and File Log logging
stopRecordingStops signal data live streaming and File Log logging

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

Data Logging with the Simulation Data Inspector

Limitations

Troubleshooting

Troubleshooting in Simulink Real-Time

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