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.

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

Blocks

ScopeDisplay signals generated during simulation

Topics

Background

Signal Monitoring Basics

Acquire non-time-stamped signal data while running a real-time application.

Signal Tracing Basics

Acquire and visualize signals while running a real-time application.

Display and Filter Hierarchical Signals and Parameters

Find and view signals and parameters with hierarchical path information.

Monitoring

Monitor Signals by Using Simulink Real-Time Explorer

Acquire non-time-stamped signal data and display it in text format.

Instrument a Stateflow Subsystem

Monitor Stateflow® states.

Animate Stateflow Charts with Simulink External Mode

Display Stateflow state changes graphically in your model.

Tracing on the Development Computer

Trace Signals by Using Simulink External Mode

Trace signals by using the Simulink model as a user interface.

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.

Parameter Tuning and Data Logging

This example shows how to use real-time parameter tuning and data logging with Simulink® Real-Time™.

Data Tracing with the Simulation Data Inspector

Trace or Log Data with the Simulation Data Inspector

Apply data logging modes to trace signal data or to log signal data.

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

Featured Examples