MATLAB Creating Graphical User Interfaces

(ff) #1

  • Specify the toggle button label by setting its String property to the desired label, in
    this case, Left/Right Tile.


To display the & character in a label, use two & characters. The words remove,
default, and factory (case sensitive) are reserved. To use one of these as a label,
prepend a backslash character (\). For example, \remove yields remove.

The toggle button accommodates only a single line of text. If you specify more than
one line, only the first line is shown. If you create a toggle button that is too narrow to
accommodate the specified String value, MATLAB truncates the text with an ellipsis.

Add Components to the GUIDE Layout Area
Free download pdf