Dials & Gauges Blockset    
LEDs

Display input value using one or more two-state graphical elements

Description

Blocks in the LEDs library use graphical elements to imitate light-emitting diodes (LEDs). Each block reflects its input value by setting one or more graphical elements to an on or off state. By default, the number of LEDs in the on state is the rounded value of the block's input. If the rounded value is nonpositive, then all LEDs are in the off state. If the rounded value exceeds the number of LEDs, then all LEDs are in the on state. To learn how to use and customize blocks in this library, see LEDs.

Blocks in the Library

The blocks in the LEDs 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.

Panel 
Purpose 
Background
Configure the background and outline of the block
LEDs/General
Define the number, arrangement, and behavior of LEDs on the block
Library
Refer to property settings as a named collection
Style
Define the appearance of LED graphical elements (The LEDs/General panel uses the LEDStyleID property to reference the styles defined here.)

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.


  Knobs & Selectors Linear Gauges