MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Instrukcja Użytkownika Strona 10

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 500
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 9
x Contents
Run the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4
How Close Confirmation Dialogs Work . . . . . . . . . . . . . 9-5
UI That Uses Persistent Data . . . . . . . . . . . . . . . . . . . . . . 9-7
About the Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-7
Calling Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-8
MAT-file Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-9
UI Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-10
Overall UI Characteristics . . . . . . . . . . . . . . . . . . . . . 9-17
UI That Accepts Parameters and Generates Plots . . . . 9-20
About the Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-20
UI Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-22
Validate Input as Numbers . . . . . . . . . . . . . . . . . . . . . 9-24
Plot Push Button Behavior . . . . . . . . . . . . . . . . . . . . . 9-27
Synchronized Data Presentations in a GUIDE UI . . . . 9-30
About the Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-30
Recreate the UI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-32
Interactive List Box in a GUIDE UI . . . . . . . . . . . . . . . 9-46
About the Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-46
Implement the List Box . . . . . . . . . . . . . . . . . . . . . . . 9-47
Plot Workspace Variables in a GUIDE UI . . . . . . . . . . . 9-52
About the Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-52
Read Workspace Variables . . . . . . . . . . . . . . . . . . . . . 9-53
Read Selections from List Box . . . . . . . . . . . . . . . . . . . 9-54
UI for Setting Simulink Model Parameters . . . . . . . . . 9-57
About the Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-57
How to Use the UI . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-58
Run the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-59
Program the Slider and Edit Text Components . . . . . . 9-60
Run the Simulation from the UI . . . . . . . . . . . . . . . . . 9-62
Remove Results from List Box . . . . . . . . . . . . . . . . . . 9-64
Plot Results Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-64
The Help Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-66
Close the UI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-66
The List Box Callback and Create Function . . . . . . . . 9-67
Animation with Slider Controls in GUIDE . . . . . . . . . . 9-68
About the Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-68
Przeglądanie stron 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 499 500

Komentarze do niniejszej Instrukcji

Brak uwag