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||Generate real-time applications for simulations that run on a target computer and interface with I/O devices in the target computer|
|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|
|Simulink Real-Time App Generator||Generate instrument panel app to interact with target computer and real-time application running on target computer|
|Simulation Data Inspector||Inspect and compare data and simulation results to validate and iterate model designs|
|Open Simulink Real-Time explorer and interact with target computers and real-time applications|
|Open Simulink Real-Time task execution time (TET) monitor|
|Generate instrument panel app to interact with target computer and real-time application running on target computer|
|Scope||Display signals generated during simulation|
- 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.
- 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 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.
- 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 in Simulink Real-Time
Troubleshoot problems that you encounter while using the Simulink Real-Time product