User`s guide
10 Examples of GUIDE GUIs
A GUI to Set Simulink Model Parameters (GUIDE)
In this section...
“About the Simulink Model Parameters Example” on page 10-66
“View and Run the Simulink Parameters GUI” on page 10-67
“How to Use the Simulink Parameters GUI” on page 10-68
“Run the GUI” on page 10-70
“Program the Slider and Edit Text Components” on page 10-71
“Run the Simulation from the GUI” on page 10-73
“Remove Results from List Box” on page 10-75
“Plot Results Data” on page 10-76
“The GUI Help Button” on page 10-78
“Close the GUI” on page 10-78
“The List Box Callback and Create Function” on page 10-79
About the Simulink Model Parameters Example
This example illustrates how to create a GUI that sets the parameters of a
Simulink
®
model. In addition, the GUI can run the simulation and plot the
results in a figure window. The following figure shows the GUI after running
three simulations with different values for controller gains.
10-66