Display input value using LED digits or numbered wheels
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.
To learn how to use and customize blocks in this library, see Numeric Displays Library.
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 numeric values. When using the alphanumeric mode, you can control the display via a MATLAB® S-function that uses the COM support features in MATLAB software. For an example of controlling a gauge using a MATLAB S-function, see Updating Multiple Portions of a Pie Chart.
The Numeric Displays library contains ActiveX® Control blocks preconfigured with ActiveX controls from Global Majic, as shown.
The ActiveX Control Properties dialog box governs the appearance and functionality of the control that is embedded in the block. The table below lists the panels of the ActiveX Control Properties dialog box.
|Background||Configure the background and outline of the block|
|General||Define the number, appearance, and arrangement of digits on the block|
|Library||Refer to property settings as a named collection|
The Block Parameters dialog box governs the relationship between the Simulink block and the control embedded in the block. See Block Parameters for the ActiveX Control Block for details.