MATLAB Creating Graphical User Interfaces

(Barry) #1

10 Lay Out a Programmatic UI


Managing the Layout in Resizable UIs


To create a resizable UI and manage the layout when the user resizes the window, set
the figure’s SizeChangedFcn property to be a handle to a callback function. Code the
callback function to manage the layout when the window size changes.
Free download pdf