MATLAB Creating Graphical User Interfaces

(ff) #1

  • Specify the push button label by setting the String property to the desired label, in
    this case, Button 1.


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 push 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 push button that is too narrow to
accommodate the specified String property value, MATLAB truncates the value with
an ellipsis.

Add Components to the GUIDE Layout Area
Free download pdf