MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manual de usuario Pagina 9

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 500
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 8
ix
Programming a GUIDE UI
8
Write Callbacks Using the GUIDE Workflow . . . . . . . . . 8-2
Callbacks for Different User Actions . . . . . . . . . . . . . . . 8-2
GUIDE-Generated Callback Functions and Property
Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4
GUIDE Callback Syntax . . . . . . . . . . . . . . . . . . . . . . . . 8-5
Renaming and Removing GUIDE-Generated Callbacks . 8-5
Initialize UIs Created Using GUIDE . . . . . . . . . . . . . . . . 8-7
Opening Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-7
Output Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-9
Callbacks for Specific Components . . . . . . . . . . . . . . . . 8-11
How to Use the Example Code . . . . . . . . . . . . . . . . . . 8-11
Push Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-12
Toggle Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-12
Radio Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-13
Check Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-14
Edit Text Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-14
Slider . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-15
List Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-16
Pop-Up Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-18
Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-20
Button Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-21
Menu Item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-22
Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-25
Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-26
Examples of GUIDE UIs . . . . . . . . . . . . . . . . . . . . . . . . . 8-29
Examples of GUIDE UIs
9
Modal Dialog Box in GUIDE . . . . . . . . . . . . . . . . . . . . . . 9-2
About the Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2
Set Up the Close Confirmation Dialog Box . . . . . . . . . . 9-2
Set Up a UI with a Close Button . . . . . . . . . . . . . . . . . 9-3
Vista de pagina 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 499 500

Comentarios a estos manuales

Sin comentarios