Creating Graphical User Interfaces - The MathWorks - #301

/ 520


catalogue search
P. 301
P. 302
P. 303
P. 304
P. 305
P. 306
P. 307
P. 308
P. 309
P. 310
P. 311
P. 312
P. 313
P. 314
P. 315
P. 316
P. 317
P. 318
P. 319
P. 320
P. 321
P. 322
P. 323
P. 324
P. 325
P. 326
P. 327
P. 328
P. 329
P. 330
P. 331
P. 332
P. 333
P. 334
P. 335
P. 336
P. 337
P. 338
P. 339
P. 340
P. 341
P. 342
P. 343
P. 344
P. 345
P. 346
P. 347
P. 348
P. 349
P. 350


See other catalogues for The MathWorks

Text version of the page
A GUI to Set Simulink® Model Parameters
Note The following links execute MATLAB commands and are designed to work within the MATLAB Help browser. If you are reading this online or in PDF, you should go to the corresponding section in the MATLAB Help Browser to use the links.
• Click here to display this GUI in the Layout Editor.
• Clickheretodisplay theGUI M-file in theeditor.
How to Use the GUI (Text of GUI Help)
You can use the F14 Controller Gain Editor to analyze how changing the gains used in the Proportional-Integral Controller affect the aircraft's angle of attack and the amount of G force the pilot feels.
Note that the Simulink diagram f14.mdl must be open to run this GUI. If you close the F14 Simulink model, the GUI reopens it whenever it requires the model to execute.
Changing the Controller Gains
Youcan change gainsintwo blocks:
• The Proportional gain (Kf) in the Gain block
• The Integral gain (Ki) in the Transfer Function block
You can change either of the gains in one of the two ways:
• Move the slider associated with that gain.
• Type a new value into the Current value edit field associated with that gain.
The block's values are updated as soon as you enter the new value in the GUI.
10-23

pageCatalog pdf di En 2012-06-22-01