Specifications
5 GUI Applications
5-20
all component properties and to understand how the components are
assembled to create the GUI. You can also see a complete listing of the code
that is discussed in the following sections.
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.
• Click here to display the GUI M-file in the editor.
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
You can change gains in two 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.