MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manual de usuario Pagina 37

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 330
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 36
Saving the GUI Layout
2-17
Saving the GUI Layout
When you save a GUI, GUIDE creates two files, a FIG-file and an M-file. The
FIG-file, with extension
.fig, is a binary file that contains a description of the
layout. The M-file, with extension
.m, contains the code that controls the GUI.
1 Save and activate your GUI by selecting Run from the Tools menu.
2 GUIDE displays the following dialog box. Click Yes to continue.
3 GUIDE opens a Save As dialog box in your current directory and prompts
you for a FIG-file name.
4 Browse to any directory for which you have write privileges, and then enter
the filename
simple_gui for the FIG-file. GUIDE saves both the FIG-file
and the M-file using this name.
5 If the directory in which you save the GUI is not on the MATLAB path,
GUIDE opens a dialog box, giving you the option of changing the current
Vista de pagina 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 329 330

Comentarios a estos manuales

Sin comentarios