Monitor Signals by Using Simulink Real-Time Explorer
This procedure uses the model
must have already completed this setup:
slrt_ex_osc. Set property Stop
inf. On the Simulink Editor
Real-Time tab, select Run on Target > Stop Time and set the Stop Time to
Connect to the target computer. Toggle the Disconnected indicator to Connected.
Build and download the real-time application to the target computer. Click Run on Target.
Open Simulink® Real-Time™ Explorer. Click Prepare > SLRT Explorer.
To monitor a signal in the real-time application, in Simulink
Real-Time Explorer, click Load Application. Select the
slrt_ex_osc application from the Applications on
target computer list and click Load.
Click the Signals tab.
Select the signals to monitor from the list, and then click Add to signals in instrument . To monitor signals, click Start Streaming. To display the monitored signal values, click View Values.
To start the real-time application, click Start.
To view the signals in the Simulation Data Inspector, click Data Inspector.
To stop execution, click Stop.