MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Dokumentacja Strona 165

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 216
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 164
Example: Using the Modal Dialog to Confirm an Operation
4-45
4 When a user clicks one of the two push buttons, the callback for the push
button
- Updates the output field in the
handles structure
- Executes
uiresume to return control to the opening function where uiwait
is called.
5 The output function is called, which returns the string Yes or No as an output
argument, and deletes the dialog with the command
delete(handles.figure1)
6 When the GUI with the Close button regains control, it receives the string
Yes or No. If the answer is 'No', it does nothing. If the answer is 'Yes', the
close button callback closes the GUI with the command
delete(handles.figure1)
Przeglądanie stron 164
1 2 ... 160 161 162 163 164 165 166 167 168 169 170 ... 215 216

Komentarze do niniejszej Instrukcji

Brak uwag