MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guida Utente Pagina 729

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 759
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 728
Icon Editor
A pane l, configured as a line , that separates the icon editor from the OK
and Cancel buttons.
An OK push button that causes the GUI to return the icon as an
m-by-n-by-3 array and closes the GUI.
A Cancel push button that closes the GUI without returning the icon.
Techniques Used in the Icon Editor Example
This example illustrates the following GUI programming techniques:
Creating a GUI that does not return a value until the user makes a choice.
Retrieving output from the GUI when it returns.
Supporting custom input property/value pairs with data validation.
Protecting a GUI from being changed from the command line.
Creating a GUI that runs on multiple platforms
Sharing data between two G U Is
Achieving the proper resize behavior
Note This example uses nested functions. For information about using
nested functions, see “Nested F unctions”.
View and Run the Icon Editor Code
This example uses three code files and one icon image:
iconEditor.m
icon Read .m
colo rPal ette.m
eras er.g if
If you are reading this example in the MATL AB Help browser, you can access
its files by clicking the following links. If you are reading on the Web or in a
15-65
Vedere la pagina 728
1 2 ... 724 725 726 727 728 729 730 731 732 733 734 ... 758 759

Commenti su questo manuale

Nessun commento