Dials & Gauges Blockset    
Buttons & Switches

Toggle between two states

Description

Blocks in the Buttons & Switches library are two-state controls that change their state when you click on them. The block output is 0 when the block's state is off and 1 when the state is on. To learn how to use and customize blocks in this library, see Buttons & Switches.

Blocks in the Library

The blocks in the Buttons & Switches 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
General
Set timer-related behavior, and determine how the button's beveling (if visible) responds to a mouse click
Library
Refer to property settings as a named collection
Off
Associate visual (text caption or image) and/or audio cues with the button's off state
On
Associate visual (text caption or image) and/or audio cues with the button's on state

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.


  Angular Gauges Knobs & Selectors