Configure Target Scopes with Simulink Real-Time Explorer

To facilitate your view of the signal data, you can configure the target scope display. You can configure the display whether you added a Scope block to the model or added the scope at run time.

This procedure uses the model xpcosc. You must have already completed the procedure in Create Target Scopes with Simulink Real-Time Explorer. Target execution and scopes must be stopped.

  1. Start execution ( on the Applications toolbar).

  2. Select Scope 1 and open the Properties pane ( on the Scopes toolbar).

  3. In the Scope 1 pane, click Display.

  4. Select Display mode Redraw and then click in the Y-Limits box.

    This value is the default. It causes the scope display to redraw when it has acquired as many samples as specified in Number of Samples.

  5. Start Scope 1 ( on the toolbar).

    Signal data is displayed on the target computer monitor, appearing to move to the left.

  6. Enter [0,10] in the Y-Limits box and then press Enter. The default setting is [0,0], which automatically scales the output according to the signal values.

    The display changes to show only values at and above the zero line.

  7. Clear the Grid (On/Off) check box. By default, the box is selected.

    The target computer monitor looks like this figure.

  8. Select Display mode Numerical and then click the Y-Limits box.

    The grid and axes disappear. The target computer monitor displays the signals, color coded, in the default format of %15.6f (a floating-point format without a label).

  9. Select Display mode Rolling and then click in the Y-Limits box.

    The display changes to a display that continuously moves a window along the signal log. New data enters the display from the right and then moves toward the left.

  10. Stop Scope 1 ( on the toolbar).

  11. Stop execution ( on the Applications toolbar).

See Also