User`s guide
Add Components to the GUI
• Specify the toggle button label b y setting its String property to the desired
label, in this case,
Left/Right Ti le.
To display the & character in a label, use two & characters in the string.
The words
remove, default,andfactory (case sensitive) are reserved.
To use one of these as a label, prepend a backslash (
\) to the string. For
example,
\remove yields remove.
Thetogglebuttonaccommodatesonlyasinglelineoftext. Ifyouspecify
more than one line, only the first line is shown. If you create a toggle button
that is too narrow to accomm odate the specified
String, MATLAB software
truncates the string with an ellipsis.
• Create the toggle button with the button selected (depressed) by setting
its
Value property to the value of its Max property (default is 1). Set
Value to Min (default is 0)toleavethetogglebuttonunselected(raised).
Correspondingly, w he n the user selects the toggle button, MAT LAB
6-55