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.
| Simulink Real-Time Explorer | Interact with target computer and real-time application running on target computer |
| Simulink Real-Time TET Monitor | Monitor task execution time for the real-time application running on target computer |
slrtExplorer | Open Simulink Real-Time explorer and interact with target computers and real-time applications |
slrtTETMonitor | Open Simulink Real-Time task execution time (TET) monitor |
| Scope | Display signals generated during simulation |
Acquire non-time-stamped signal data while running a real-time application.
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.
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.
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. Signals are logged during model execution.
Parameter Tuning and Data Logging
This example shows how to use real-time parameter tuning and data logging with Simulink® Real-Time™.
Trace or Log Data with the Simulation Data Inspector
Apply data logging modes to trace signal data or to log signal data.
Troubleshoot Signals Not Accessible by Name
Investigate issues for some signal types prevent monitoring, tracing, or logging.
Learn about Simulink Real-Time support for internationalization.
Troubleshooting in Simulink Real-Time
Troubleshoot problems that you encounter while using the Simulink Real-Time product