Creating Graphical User Interfaces    

Electing to Generate Only the FIG-File

Select Generate .fig file only in the GUIDE Application Options dialog if you do not want GUIDE to generate an application M-file. When you save the GUI from the Layout Editor, GUIDE creates a FIG-file, which you can redisplay using the open or hgload command.

When you select this option, you must set the Callback property of each component in your GUI to a string that MATLAB can evaluate and perform the desired action. This string can be an expression or the name of an M-file.

Select this option if you want to follow a completely different programming paradigm than that generated by the application M-file.


 Command-Line Accessibility Generating the FIG-File and the M-File