SwitchToggle Properties

Graphic instrument to set binary parameter values

Use the SwitchToggle instrument to set a binary (1 or 0) value.

To access a dialog box containing key instrument or layout element properties, select the item. In the top, right corner, click the Tasks button .

To access the complete Properties list for an instrument or layout element, in the instrument panel, select the item. In the Properties list, to access a dialog box for a particular property group, click the group. To the right of the group, click the continuation button .

These properties represent a selection from the available properties. For more properties, see Graphical Properties.


expand all

Open a dialog box to configure the switch display.

Enter an integer value with the percentage of the switch frame that is covered by the changing part of the graphic. Values below 10% or above 90% produce an error.

Open a dialog box to configure the lines on the movable part of the switch.

If True, the bevel lines are visible, otherwise they are not visible.

  • Raised — Bevel lines lie on top of the surface.

  • Sunken — Bevel lines lie below the surface.

  • None — Bevel lines are not visible.,

Thickness of bevel lines, in pixels.

Space around bevel lines, in pixels.


expand all

When True, prevents accidental changes in size or location of the instrument instance.


expand all

Specify the hierarchical name of the signal or parameter that is bound to the instrument.

Specify the type of object to which the instrument is bound. The Signal binding is visible only for display instruments.

Bind an instrument instance to a particular target computer. You can bind different instruments in the same instrument panel to different target computers.

Introduced in R2017b