Dials & Gauges Blockset | ![]() ![]() |
Display input value using LED digits or numbered wheels
Description
Blocks in the Numeric Displays library show the numerical values of their inputs using graphical elements that imitate either numerals composed of light-emitting diode (LED) segments, or numbered wheels.
The display of the Odometer block imitates the numbered wheels of a car's odometer. An optional reset button on the Odometer block can set the display to zero in response to a mouse click.
To learn how to use and customize blocks in this library, see Numeric Displays.
Note
Blocks in this library can display alphanumeric characters if their DisplayMode properties are set to AlphaNumeric . Some blocks, such as the IRIG Format block, use this alphanumeric mode by default. However, Simulink signals are always double-precision numeric values. When using the alphanumeric mode, you can control the display via an M-file S-function that uses the COM support features in MATLAB. For an example of controlling a gauge using an M-file S-function, see Updating Multiple Portions of a Pie Chart.
|
Blocks in the Library
The blocks in the Numeric Displays library are
Dialog Box
The ActiveX Control Properties dialog box governs the appearance and functionality of the ActiveX control that is embedded in the block. The table below lists the panels of the ActiveX Control Properties dialog box.
The Block Parameters dialog box governs the interaction between Simulink and the ActiveX control embedded in the block. See Summary of Dialog Box Fields and Check Boxes for details.
![]() | Linear Gauges | Percent Indicators | ![]() |