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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 330
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 19
1 About GUIs in MATLAB
1-4
Where Do I Start?
First you have to design your GUI. You have to decide what you want it to do,
how you want the user to interact with it, and what components you need.
“Designing a GUI” on page 6-2 list references that may be of help.
Next, you must decide what technique you want to use to create your GUI.
MATLAB enables you to create GUIs programmatically or with GUIDE, an
interactive GUI builder. It also provides functions that simplify the creation of
standard dialog boxes. The technique you choose depends on your experience,
your preferences, and the kind of GUI you want to create. This table outlines
some possibilities.
Once you have decided which technique you want to use, you can continue to
learn about creating GUIs in MATLAB by following through the examples in
the following topics:
Chapter 2, “Creating a GUI with GUIDE”
Chapter 3, “Creating a GUI Programmatically”
GUI Technique
Dialog box MATLAB provides a selection of standard
dialog boxes that you can create with a single
function call. For links to these functions,
see Predefined Dialog Boxes in the MATLAB
documentation.
GUI containing just a few
components
It is often simpler to create GUIs that contain
only a few components programmatically.
Each component can be fully defined with a
single function call.
Moderately complex GUIs GUIDE simplifies the creation of such GUIs.
Complex GUIs with many
components, and GUIs
that require interaction
with other GUIs
Creating such GUIs programmatically lets
you control exact placement of the
components and provides reproducibility.
Vista de pagina 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 329 330

Comentarios a estos manuales

Sin comentarios