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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 216
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 6
v
Interrupting Executing Callbacks . . . . . . . . . . . . . . . . . . . . . 4-35
Controlling Interruptibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-35
The Event Queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-35
Event Processing During Callback Execution . . . . . . . . . . . . . 4-36
Controlling Figure Window Behavior . . . . . . . . . . . . . . . . . . 4-38
Using Modal Figure Windows . . . . . . . . . . . . . . . . . . . . . . . . . . 4-38
Example: Using the Modal Dialog to Confirm
an Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-40
View Completed Layouts and Their GUI M-Files . . . . . . . . . . 4-40
Setting Up the Close Confirmation Dialog . . . . . . . . . . . . . . . . 4-41
Setting Up the GUI with the Close Button . . . . . . . . . . . . . . . 4-42
Running the GUI with the Close Button . . . . . . . . . . . . . . . . . 4-43
How the GUI and Dialog Work . . . . . . . . . . . . . . . . . . . . . . . . . 4-44
5
GUI Applications
GUI with Multiple Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Techniques Used in the Example . . . . . . . . . . . . . . . . . . . . . . . . 5-2
View Completed Layout and Its GUI M-File . . . . . . . . . . . . . . . 5-3
Design of the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
Plot Push Button Callback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-6
List Box Directory Reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9
View Layout and GUI M-File . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9
Implementing the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10
Specifying the Directory to List . . . . . . . . . . . . . . . . . . . . . . . . . 5-10
Loading the List Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
Accessing Workspace Variables from a List Box . . . . . . . . . 5-15
Techniques Used in This Example . . . . . . . . . . . . . . . . . . . . . . 5-15
View Completed Layout and Its GUI M-File . . . . . . . . . . . . . . 5-16
Reading Workspace Variables . . . . . . . . . . . . . . . . . . . . . . . . . . 5-16
Reading the Selections from the List Box . . . . . . . . . . . . . . . . . 5-17
Vista de página 6
1 2 3 4 5 6 7 8 9 10 11 12 ... 215 216

Comentários a estes Manuais

Sem comentários