Creating Graphical User Interfaces    

Exporting a GUI to a Single M-File

You can export a GUI from GUIDE to a single M-file that does not require a FIG-file. This enables you to

To export your GUI, do the following steps:

  1. Save the GUI in GUIDE, if you have not already done so.
  2. Select Export from the File menu. If you changed the GUI since you last saved it, this opens a dialog informing you that exporting will save changes to your figure and M-file, and asking if you want to continue.
  3. Click OK in the confirmation dialog.
  4. Save the exported M-file in the Save as dialog. By default, GUIDE gives the exported M-file the name of the GUI M-file with _export appended.


  Changing the Name of Callback Properties GUIDE Layout Tools