MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guida Utente Pagina 580

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 759
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 579
11 Lay Out a Programmatic GUI
Note After you have created a toolbar and its tools, set their
HandleVisibility properties of f by executing statements similar to the
following:
set(toolbarhandle,'HandleVisibility','o ff')
toolhandles = get(toolbarhandle,'Children');
set(toolhandles,'HandleVisibility', 'off')
Display and Modify the Standard Toolbar
You can choose whether or not to display the MATL AB standard toolbar on
your GU I. You can also add or delete tools from the standard toolbar.
Standard figure toolbar
Display the Standard Toolbar
Use the figure Toolbar property to display or hide the MATLAB standard
toolbar. Set
Toolbar to figure to display the standard toolbar. Set Toolbar
to none to hide it.
set(fh,'Toolbar','figure'); % Display the standard toolb ar
set(fh,'Toolbar','none'); % Hide the standard toolbar
In these statements, fh is the handle of the figure.
The default figure
Toolbar setting is a uto. This setting displays the figure
toolbar, but removes it i f y ou add a user interface control (uicontrol) to the
figure.
11-92
Vedere la pagina 579
1 2 ... 575 576 577 578 579 580 581 582 583 584 585 ... 758 759

Commenti su questo manuale

Nessun commento