
GUI Options
5-11
Generate FIG-File and M-File
Select Generate FIG-file and M-file in the GUI Options dialog if you want
GUIDE to create both the FIG-file and the GUI M-file (this is the default). Once
you have selected this option, you can select any of the following items in the
frame to configure the M-file:
• Generate callback function prototypes
• Application allows only one instance to run (singleton)
• Use system color scheme for background
See “GUI Files: An Overview” on page 8-5 for information about these files.
Generate Callback Function Prototypes
If you select Generate callback function prototypes in the GUI Options
dialog, GUIDE adds templates for the most commonly used callbacks to the
GUI M-file for any component you add to the GUI. You must then write the
code for these callbacks.
Option Description
Callback (GUI becomes
Current Figure within
Callbacks)
The GUI can be accessed only from within
a GUI callback. The GUI cannot be
accessed from the command line or from
an M-script. This is the default.
Off (GUI never becomes
Current Figure)
The GUI can not be accessed from a
callback, the command line, or an
M-script, without the handle.
On (GUI may become
Current Figure from
Command Line)
The GUI can be accessed from a callback,
from the command line, and from an
M-script.
Other (Use settings from
Property Inspector)
You control accessibility by setting the
HandleVisibility and IntegerHandle
properties from the Property Inspector.
Comentarios a estos manuales