MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Especificações Página 165

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 216
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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)
Vista de página 164
1 2 ... 160 161 162 163 164 165 166 167 168 169 170 ... 215 216

Comentários a estes Manuais

Sem comentários