MATLAB Creating Graphical User Interfaces

(Barry) #1
UI That Accepts Parameters and Generates Plots

Resize and Command-Line Options


Select Tools > GUI Options to set these options in your UI:



  • Resize behavior: Proportional


Selecting Proportional as the resize behavior enables you to resize the UI window.
Using this option setting, when you resize the UI, everything expands or shrinks
proportionately, except text.


  • Command-line accessibility: Callback


When UIs include axes, their handles should be visible from other objects' callbacks.
This enables you to use plotting commands like you would on the command line.
Callback is the default setting for command-line accessibility.

For more information, see “GUIDE Options” on page 5-8.
Free download pdf