MATLAB Creating Graphical User Interfaces

(ff) #1

  • Specify the text that appears in the component by setting the component String
    property to the desired text, in this case Select a data set.


To display the & character in a list item, 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.

If your component is not wide enough to accommodate the specified value, MATLAB
wraps the displayed text.

6 Lay Out a UI Using GUIDE

Free download pdf