User`s guide
10 Examples of GUIDE GUIs
The graph is displayed in a figure, which is cleared e ach time you click the
Plot button. The figure’s handle is hidden so that only the GUI can display
graphs in this window.
Remove Results
To remove a result from the Results list, select the row or rows you want to
remove and click the Remove button.
Run the GUI
The GUI is nonblocking and nonmodal because it is designed to be used as
an analysis tool.
GUI Options Settings
This GUI uses the following GUI option settings:
• Resize behavior: Non-resizable
• Com mand-line accessib ility: Off
• GUI O ptions selecte d:
- Generate callback function prototypes
- GUI allows only one instance to run
Open the Simulink Block Diagrams
This example is d es igne d to work with the f14 Sim ulink model. Because the
GUI sets parameters and runs the simulation, the
f14 model must be open
when the GUI is displayed. When the GUI runs, the
model_open subfunction
executes. The purpose of the subfunction is to:
• Determine if the mo del is open (
find_system).
• Open the block diagram for the model and the subsystem where the
parameters are being set, if not open already (
open_system).
• Ch an g e the size of the controller Gain block so it can d i splay the gain va lu e
(
set_param).
10-70