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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 330
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 299
12 Examples of GUIs Created Programmatically
12-22
Color Palette
The color palette example includes these topics:
“The Example” on page 12-22
“Techniques Used in the Example” on page 12-25
“View the Completed GUI M-File” on page 12-25
“Subfunction Summary” on page 12-26
“M-File Structure” on page 12-27
“GUI Programming Techniques” on page 12-28
The Example
This example creates a GUI, colorPalette, that enables a user to select a color
from a color palette or display the standard color selection dialog box. Another
example, “Icon Editor” on page 12-33, embeds the colorPalette, as the child of
a panel, in a GUI you can use to design an icon.
The
colorPalette function populates a GUI figure or panel with a color
palette. The figure below shows the palette as the child of a figure.
Vista de pagina 299
1 2 ... 295 296 297 298 299 300 301 302 303 304 305 ... 329 330

Comentarios a estos manuales

Sin comentarios