MATLAB Creating Graphical User Interfaces

(ff) #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.

If the width of the component is too small to accommodate one or more of the
specified list items, MATLAB software truncates those items with an ellipsis.


  • Specify selection by using the Value property together with the Max and Min
    properties.

    • To select a single item when the component is created, set Value to a scalar that
      indicates the index of the selected list item, where 1 corresponds to the first item in
      the list.

    • To select more than one item when the component is created, set Value to a vector
      of indices of the selected items. Value = [1,3] results in the following selection.




Add Components to the GUIDE Layout Area
Free download pdf