Specifications
GUI FIG-Files and M-Files
1-9
GUI FIG-Files and M-Files
GUIDE stores a GUI in two files, which are generated the first time you save
or run the GUI:
• A FIG-file, with extension
.fig, which contains a complete description of the
GUI layout and the components of the GUI: push buttons, menus, axes, and
so on.
• An M-file, with extension .m, which contains the code that controls the GUI,
including the callbacks for its components.
These two files correspond to the tasks of laying out and programming the GUI.
When you lay out of the GUI in the Layout Editor, your work is stored in the
FIG-file. When you program the GUI, your work is stored in the M-file.