Documentation

Gauge

Display input value on circular scale

  • 库:
  • Simulink / Dashboard

Description

TheGaugeblock displays the connected signal on a circular scale during simulation. You can use theGaugeblock with other Dashboard blocks to build an interactive dashboard of controls and indicators for your model. TheGaugeblock provides an indication of the instantaneous value of the connected signal throughout simulation. You can modify the range of theGaugeblock to fit your data. You can also customize the appearance of theGaugeblock to provide more information about your signal. For example, you can color-code in-specification and out-of-specification ranges.

Connection

Dashboard blocks do not use ports to connect to signals. To connect a signal to a Dashboard block, use theConnectiontable in the block's parameters.

  1. Double-click the block.

  2. Populate the connection table by selecting signals of interest in your model.

  3. Select the check box next to the signal you want to display.

  4. ClickApply.

Limitations

  • You cannot save the block connections or properties in model files that use theMDLformat.

    To save connections and properties, save the model file in theSLXformat.

  • Dashboard blocks can only connect to real scalar signals.

  • Dashboard blocks cannot connect to blocks that are commented out.

  • Dashboard blocks cannot connect to signals inside reference models.

  • If you turn off logging for a signal connected to a Dashboard block, the model stops sending data from that signal to the block. To view the signal again, reconnect the signal.

Parameters

expand all

Signal connection options. Populate theConnectiontable by selecting signals of interest in your model. Mark the check box next to the signal you want to display. ClickApplyto connect the signal.

A finite, real, double, scalar value specifying the minimum tick mark value for the scale. The minimum must be less than the value entered for the maximum.

A finite, real, double, scalar value specifying the maximum tick mark value for the scale. The maximum must be greater than the value entered for the minimum.

A finite, real, positive, integer, scalar value specifying the interval of major tick marks on the scale. When set toauto, the block automatically adjusts the tick interval based on the minimum and maximum values.

Color specifications for ranges on the scale. Press the+button to add a color. For each color added, specify the minimum and maximum values of the range where you want to display that color.

Position of the block label. When the block is connected to a signal, the label is the name of the connected signal. When the block is not connected, the label is the instructional text.

Introduced in R2015a

Was this topic helpful?