Numeric Displays
Library Overview
The Numeric Displays library contains controls that display
the numerical values of their input signals. The Odometer block differs
from the other blocks in this library in its appearance and dialog
box. The topics in this section are
Back to Top
Customizing Numeric Displays
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. |
Back to Top
Customizing the Odometer Block
The table below lists some common ways to customize 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.
Set Decimals to the number of digits after the
decimal point. The block does not display a decimal point character,
but digits that represent proper fractions appear with inverted colors. |
| Make the display change gradually from old to new values, instead
of registering the change instantaneously | Check the Transition Enabled check box.
Set the Steps value to the number of steps in
the gradual transition. Use the Rate value to
control the speed of the transition, where larger values indicate
a slower transition. |
Back to Top
 | Linear Gauges | | On Off Gauges |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit