Specifications

3 Laying Out GUIs and Setting Properties
3-28
such as plot, that alter the current figure. With the default option, which is
Callback (GUI becomes Current Figure within Callbacks), the GUI can
become the MATLAB current figure, by the command
gcf, only while a
callback is executing.
There may be occasions when you want the GUI figure handle to be accessible
from the command line. For example, you might want the GUI to display plots
created at the command line. In this case, you should select
On (GUI may
become Current Figure from Command Line)
.
Access Options
There are four options for Command-line accessibility:
Callback (GUI becomes Current Figure within Callbacks)
Off (GUI never becomes Current Figure)
On (GUI may become Current Figure from Command Line)
Other (Use settings from Property Inspector)
The following table summarizes how the four Command-line accessibility
options configure
HandleVisibility and IntegerHandle in the Property
Inspector (see Figure Properties That Control Access):
Figure Properties That Control Access
There are two figure properties that control command-line accessibility of the
figure:
HandleVisibility — Determines whether the figure’s handle is visible to
commands that attempt to access the current figure.
IntegerHandle — Determines if a figure’s handle is an integer or a
floating-point value.
Option Handle Visibility Integer Handle
Callback
Callback off
Off
off off
On
on on
Other
user specifies user specifies