MATLAB Creating Graphical User Interfaces

(Barry) #1
Add Components to the GUIDE Layout Area


  • Use the title, xlabel, ylabel, zlabel, and text functions in the UI code file to
    label an axes component. For example,


xlh = (axes_handle,'Years')

labels the X-axis as Years. The handle of the X-axis label is xlh.

The words remove, default, and factory (case sensitive) are reserved. To use
one of these in component text, prepend a backslash (\) to the string. For example,
\remove yields remove.
Free download pdf