MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Uživatelský manuál Strana 13

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 500
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 12
xiii
Manage Application-Defined Data
12
Share Data Among Callbacks . . . . . . . . . . . . . . . . . . . . . 12-2
Overview of Data Sharing Techniques . . . . . . . . . . . . . 12-2
Store Data in UserData or Other Object Properties . . . 12-3
Store Data as Application Data . . . . . . . . . . . . . . . . . . 12-4
Create Nested Callback Functions (Programmatic
UIs) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-5
Store Data Using the guidata Function . . . . . . . . . . . . 12-6
Sharing Data Among Multiple GUIDE UIs . . . . . . . . . 12-9
Manage Callback Execution
13
Interrupt Callback Execution . . . . . . . . . . . . . . . . . . . . 13-2
How to Control Interruption . . . . . . . . . . . . . . . . . . . . 13-2
Callback Behavior When Interruption is Allowed . . . . 13-2
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-3
Examples of UIs Created Programmatically
14
Axes, Menus, and Toolbars in Programmatic UIs . . . . 14-2
About the Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-2
View the Example Code . . . . . . . . . . . . . . . . . . . . . . . 14-3
Generate the Graphing Commands and Data . . . . . . . 14-3
Create the UI and Its Components . . . . . . . . . . . . . . . 14-4
Initialize the UI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-7
Define the Callbacks . . . . . . . . . . . . . . . . . . . . . . . . . . 14-8
Updating the Plot . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-11
Synchronized Data Presentations in a Programmatic
UI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14-12
Techniques Illustrated in the Example . . . . . . . . . . . 14-12
About the Example . . . . . . . . . . . . . . . . . . . . . . . . . . 14-12
Zobrazit stránku 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 499 500

Komentáře k této Příručce

Žádné komentáře