MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manuale Utente Pagina 26

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 500
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 25
2 How to Create a UI with GUIDE
2-2
Create a Simple UI Using GUIDE
This example shows how to use GUIDE to create a simple user interface (UI), such as
shown in the following figure.
Subsequent topics guide you through the process of creating this UI.
If you prefer to view and run the code that created this UI without creating it, set your
current folder to one to which you have write access. Copy the example code and open it
in the Editor by issuing the following MATLAB commands:
copyfile(fullfile(docroot, 'techdoc','creating_guis',...
'examples','simple_gui*.*')),fileattrib('simple_gui*.*', '+w');
guide simple_gui.fig;
edit simple_gui.m
To run the UI, on the Editor tab, in the Run section, click Run .
Open a New UI in the GUIDE Layout Editor
1
Start GUIDE by typing guide at the MATLAB prompt.
Vedere la pagina 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 499 500

Commenti su questo manuale

Nessun commento