MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manuel d'utilisateur Page 169

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 330
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 168
Running a GUI
7-11
If a GUI accepts arguments when it is run, they are passed to the GUI’s
opening function. See “Opening Function” on page 8-15 for more information.
Note Consider whether you want to allow more than one copy of the GUI to
be active at the same time. If you want only one GUI to be active, select
Options from the Layout Editor View menu, then select GUI Allows Only
One Instance to Run (Singleton)
. See “GUI Options” on page 5-9 for more
information.
From an M-file Script
Run your GUI from an M-file script by executing the GUI M-file. For example,
if your GUI M-file is
mygui.m, include the following statement in your M-file
script.
mygui
The M-file must reside on the MATLAB path or in the current MATLAB
directory where the GUI is run.
If a GUI accepts arguments when it is run, they are passed to the GUI’s
opening function. See “Opening Function” on page 8-15 for more information.
Note Consider whether you want to allow more than one copy of the GUI to
be active at the same time. If you want only one GUI to be active, select
Options from the Layout Editor View menu, then select GUI Allows Only
One Instance to Run (Singleton)
. See “GUI Options” on page 5-9 for more
information.
Vue de la page 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 329 330

Commentaires sur ces manuels

Pas de commentaire