| Contents | Index |
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 Library.
The LEDs 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.
| 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 relationship between the Simulink block and the control embedded in the block. See Block Parameters for the ActiveX Control Block for details.

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 |