| Contents | Index |
| On this page… |
|---|
The Numeric Displays library contains controls that display the numerical values of their input signals. Controls differ in numerical range and display elements. The Odometer block uses a specialized dialog box. The library provides:
Display elements — Digit count, decimals, leading zeros, plus or minus, gradual transition (odometer only)
Preconfigured controls
Numeric LED display— HH:MM, HH:MM:SS, IRIG Format, PlusMinus XX.XXX, VCR Clock
Odometer display—Odometer
Custom controls — Generic Numeric LED
The table below lists some common ways to customize any block in the Numeric Displays library, except the Odometer block, using the General panel of its ActiveX Control Properties dialog box.
| Task | Description |
|---|---|
| Change the number of digits in the display | Set Digits to the total number of digits. |
| Specify the number of digits after the decimal point | Set Decimals to the number of digits you want after the decimal point, and check the FixedDecimal check box. |
| Pad the display with leading zeros | Check the LeadingZeros check box. |
| Display a plus or minus sign | Check the LeadingPlusMinus check box. |
| Change the appearance of all digits | Use the ItalicsOffset property to control the slanting angle of digits. Use the Segment Width and Segment Separation properties to control the width of the line segments that compose each digit and the spacing between the line segments, respectively. Use the two Spacing properties to control the padding around each digit. |
| Avoid using nonnumeric characters such as a colon in the display, making the block easier to use with Simulink signals | First set DisplayMode to 0 - Numeric. Then open the block's Block Parameters dialog box by double-clicking the block's border, and set Input property to Value. |
The table below lists some common ways to customize the Odometer block, using the General panel of its ActiveX Control Properties dialog box.
![]() | Linear Gauges Library | On Off Gauges Library | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |