Many
Manuals
search
Catégories
Marques
Accueil
MATLAB
Logiciels graphiques
SIMULINK 7 - GRAPHICAL USER INTERFACE
Manuel d'utilisateur
MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manuel d'utilisateur Page 279
Télécharger
Partager
Partage
Ajouter à mon manuel
Imprimer
Page
/
330
Table des matières
MARQUE LIVRES
Noté
.
/ 5. Basé sur
avis des utilisateurs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
11
Functions for Creating
GUIs
Introduction (p
. 11-2)
Introduces the topic
.
Function Summary (p. 11-3)
Summarizes MATLA
B functions specifically intended for
GUI creation.
1
2
...
274
275
276
277
278
279
280
281
282
283
284
...
329
330
Version 7
1
How to Contact The MathWorks:
2
Revision History
3
Saving and Running the GUI
9
Contents
10
Examples of GUIDE GUIs
11
Functions for Creating GUIs
13
Getting Started
15
About GUIs in MATLAB
17
1 About GUIs in MATLAB
18
How Does a GUI Work?
19
Creating a GUI with
21
2 Creating a GUI with GUIDE
22
The Example: Simple GUI
23
Laying Out a Simple GUI
25
OK. The Layout Editor then
25
Adding the Components
27
Aligning the Components
29
Entering Pop-Up Menu Items
33
, then click OK
35
Saving the GUI Layout
37
Programming the Pop-Up Menu
41
Programming the Push Buttons
43
Save from the File menu
45
Creating a GUI
49
Sine; result in radians
53
Square root
53
3-D shaded surface plot
53
Creating a GUI M-File
54
Surf push button, add the
64
Surf push button
64
Mesh push button
64
Contour push button, add the
64
Running the Final GUI
65
Creating GUIs with GUIDE
69
What Is GUIDE?
71
4 What Is GUIDE?
72
GUIDE Tools Summary
73
Preferences and Options
77
5 Preferences and Options
78
Prompt to Save on Activate
79
All Other Preferences
81
GUIDE Preferences
83
GUI Options
85
Generate FIG-File and M-File
87
Generate FIG-File Only
89
Laying Out a GUI
91
Designing a GUI
93
GUI with Uicontrols
97
GUI with Axes and Menu
99
6 Laying Out a GUI
100
Selecting a GUI Template
101
Yes and No push buttons:
101
Setting the GUI Size
103
Adding Components to the GUI
105
Preferences from
105
Adding Text to the Components
115
Static Text
117
Slider, Axes, ActiveX Control
121
Selecting Components
121
Front-to-Back Positioning
123
Dragging Components
125
Resizing Components
127
Aligning Components
129
Property Inspector
131
Guide Lines
133
Setting Tab Order
135
1 Surf push button
137
2 Contour push button
137
3 Mesh push button
137
Menus for the Menu Bar
139
Adding Items to a Menu
141
Additional Drop-Down Menus
143
Cascading Menus
143
Creating Menus
145
UIContextMenu property
149
Creating Toolbars
151
Default System Font
153
View menu
155
Generate FIG-file
155
Saving and Running the
159
7 Saving and Running the GUI
160
File and GUI Names
161
How to Assign Names
161
Saving a GUI
163
Saving a New GUI
165
Saving an Existing GUI
167
From an M-file Script
169
M-file
171
Programming the GUI
173
8 Programming the GUI
174
Callbacks: An Overview
175
GUI Files: An Overview
177
View callbacks
179
Callback Syntax and Arguments
183
Input Arguments
185
The Handles Structure
185
Initialization Callbacks
187
Output Function
189
Push Button
191
Radio Button
193
Check Box
193
List Box
195
ActiveX Control
203
View Callbacks from
205
Menu Item
209
View button
211
Managing
213
Application-Defined Data
213
Mechanisms for Managing Data
214
GUI Data in GUIDE
215
Application Data
216
UserData Property
218
GUI Data
219
10 Examples of GUIDE GUIs
226
Design of the GUI
227
GUI Option Settings
229
Plot Button Code Listing
231
List Box Directory Reader
233
The List Box Callback
237
GUI M-file. See
239
for more information
239
Reading Workspace Variables
241
Changing the Controller Gains
245
Slider Callback
247
Current value text box
249
The GUI Help Button
253
Running the GUI
257
Validating the MAT-file
259
The Open Menu Callback
261
Open_Callback Code Listing
261
An Address Book Reader
263
Cancel from the question
263
Paging Forward or Backward
265
Code Listing
265
Saving the MAT-File
267
Save_Callback Code Listing
267
Changing the Width
269
Changing the Height
269
How the GUI and Dialog Work
275
Creating GUIs
277
Programmatically
277
Functions for Creating
279
Introduction
280
Function Summary
281
ActiveX Controls
282
Interactive User Input
282
Working with Preferences
282
Utilities
283
Examples of GUIs Created
285
The Example
287
Creating the Data
289
The Main Figure
290
The Axes
291
The Pop-Up Menu
292
The Update Push Button
292
File, and the items it
293
The Toolbar and Its Tools
294
Initializing the GUI
295
Defining the Callbacks
296
Open Menu Item Callback
297
Print Menu Item Callback
298
Close Menu Item Callback
298
Color Palette
300
The Components
301
Using the Color Palette
301
NaN, that
302
View the Completed GUI M-File
303
Subfunction Summary
304
M-File Structure
305
GUI Programming Techniques
306
Sharing Data Between Two GUIs
308
Icon Editor
311
Using the Icon Editor
312
Cancel button, its callback
317
Making a GUI Modal
322
UserData property 9-6
327
Tag property
330
UserData property
330
Commentaires sur ces manuels
Pas de commentaire
Publish
Imprimer le document
Imprimer la page 279
Commentaires sur ces manuels