You can customize the viewer for each host scope to facilitate your interaction with the running model.
This procedure uses the model
must have already completed the procedure in Create Host Scopes with Simulink Real-Time Explorer.
Target execution and scopes must be stopped.
In the Signals workspace, to add signal
host scope Scope1, drag signal
the Host Scope Viewer display.
Start execution ( on the Applications toolbar).
To start Scope 1, click the Start button on the Host Scope Viewer toolbar.
To trigger Scope 1, click the Trigger button on the Host Scope Viewer toolbar.
To trigger a capture interactively using the Trigger button , first set the scope Trigger
In the Simulink® Real-Time™ Host Scope Viewer, right-click anywhere in the axis area of the viewer and then click Edit.
The Host Scope Viewer display parameter buttons become enabled on the toolbar.
Adjust the Host Scope Viewer display using:
Auto Scale — To scale the display to accommodate the top and bottom of the Y-axis.
Axes Scroll — To move the content up and down and right and left relative to the axes. The axes scroll as required.
Axes Zoom — To stretch and compress the X-axis and Y-axis.
Zoom In — To zoom in on the current center of the display.
Zoom Out — To zoom out from the current center of the display.
Zoom Box — To select an area of interest in the display. When you release the mouse button, the display zooms in upon the selected area.
Data Cursor — To display data values using a set of cross-hairs in the display.
Data is displayed as the pair
indicating the value at that point on the display. You can drag the
center of the cross hairs and observe the value at each point.
Legends — To toggle display of the signal names.
Y-Axes Scale Display — To show the scale of the Y-axis.
To stop Scope 1, click the Stop button on the Host Scope Viewer toolbar.
Stop execution ( on the Applications toolbar).