MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manuel d'utilisateur Page 160

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 330
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 159
7 Saving and Running the GUI
7-2
Naming a GUI and Its Files
“The GUI Files” on page 7-2
“File and GUI Names” on page 7-3
“How to Assign Names” on page 7-3
“Renaming GUIs and GUI Files” on page 7-4
The GUI Files
By default, 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, that contains a complete description of the
GUI layout and the GUI components, such as push buttons, axes, panels,
menus, and so on. The FIG-file is a binary file and you cannot modify it
except by changing the layout in GUIDE. Note that a FIG-file is a kind of
MAT-file. See MAT-Files for more information.
An M-file, with extension .m, that contains the code that controls the GUI,
including the callbacks for its components.
These two files usually reside in the same directory. They correspond to the
tasks of laying out and programming the GUI. When you lay out 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 corresponding M-file.
Note that if your GUI includes ActiveX components, GUIDE also generates a
file for each ActiveX component. See “ActiveX Control” on page 8-31 for more
information.
Note You can choose to save only the FIG-file for a GUI. See “Saving and
Displaying Only the GUI Layout” on page 7-12
For more information about these files, see “GUI Files: An Overview” on
page 8-5.
Vue de la page 159
1 2 ... 155 156 157 158 159 160 161 162 163 164 165 ... 329 330

Commentaires sur ces manuels

Pas de commentaire