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.
|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.
Find and view signals and parameters with hierarchical path information.
Acquire non-time-stamped signal data and display it in text format.
Monitor Stateflow® states.
Display Stateflow state changes graphically in your model.
Trace signals by using the Simulink model as a user interface.
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.
This example shows how to use real-time parameter tuning and data logging with Simulink® Real-Time™.
Apply data logging modes to trace signal data or to log signal data.
Troubleshoot problems that you encounter while using the Simulink Real-Time product