MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manuale Utente Pagina 86

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 330
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 85
5 Preferences and Options
5-10
Non-resizable — Users cannot change the window size (default).
Proportional — MATLAB automatically rescales the components in the
GUI in proportion to the new figure window size.
Other (Use ResizeFcn) — Program the GUI to behave in a certain way
when users resize the figure window.
The first two approaches simply set properties appropriately and require no
other action.
Other (Use ResizeFcn) requires you to write a callback routine
that recalculates sizes and positions of the components based on the new figure
size.
Command-Line Accessibility
You can restrict access to a GUI figure from the command line by using the
GUIDE
Command-line accessibility options.
Many commands, such as
plot, alter the current figure, i.e., the figure specified
by the root
CurrentFigure property. The current figure is usually the figure
that is most recently created or clicked in. However, a figure can also become
the current figure with the statement
figure(h)
or by setting the CurrentFigure property to the figure’s handle.
For a GUI created in GUIDE set the
Command-line accessibility options to
prevent users from inadvertently changing the appearance of a GUI by
entering commands at the command line, such as
plot, that alter the current
figure.
The following table briefly describes the four options for
Command-line
accessibility
.
Vedere la pagina 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 329 330

Commenti su questo manuale

Nessun commento