Main Content

Signal Tracing

Visualize signal tracing by running the real-time application

Signal tracing lets you visualize real-time signals when you run a real-time application on the target computer. The signal tracing work flows provide options for selecting the signals for tracing and the selecting the way you view the signals.

To select signals for tracing, you can mark signals for logging by the Simulation Data Inspector, you can connect signals to a Simulink® Scope block (for external mode simulation), or you can select signals in Simulink Real-Time™ Explorer to stream to the Simulation Data Inspector.

To view signals as you run the real-time application, you can open the Simulation Data Inspector or open the Simulink Scope block (for external mode simulation).

The advantage of tracing signals in the Simulation Data Inspector is that you can choose to save the run data for later review. Tracing signals by using the Simulink Scope block does not support saving the run data.

Apps

Simulink Real-TimeGenerate real-time applications for simulations that run on a target computer and interface with I/O devices in the target computer (Since R2020b)
Simulink Real-Time ExplorerInteract with target computer and real-time application running on target computer (Since R2020b)
Simulink Real-Time TET MonitorMonitor task execution time for the real-time application running on target computer (Since R2020b)
Simulink Real-Time App GeneratorGenerate instrument panel app to interact with target computer and real-time application running on target computer (Since R2022a)

Tools

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 (Since R2020b)
slrtTETMonitorOpen Simulink Real-Time task execution time (TET) monitor (Since R2020b)
slrtAppGeneratorGenerate instrument panel app to interact with target computer and real-time application running on target computer (Since R2022a)

Blocks

ScopeDisplay signals generated during simulation

Topics

Background

Monitoring

Tracing on the Development Computer

Data Tracing with the Simulation Data Inspector

Limitations

Troubleshooting

Troubleshooting in Simulink Real-Time

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