MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Uživatelský manuál Strana 244

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 330
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 243
10 Examples of GUIDE GUIs
10-20
A GUI to Set Simulink Model Parameters
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. The following picture shows the GUI after running three simulations
with different values for controller gains.
Techniques Used in This Example
This example illustrates a number of GUI building techniques:
Opening and setting parameters on a Simulink model from a GUI.
Implementing sliders that operate in conjunction with text boxes, which
display the current value as well as accepting user input.
Enabling and disabling controls, depending on the state of the GUI.
Managing a variety of shared data using the
handles structure.
Directing graphics output to figures with hidden handles.
Adding a help button that displays
.html files in the MATLAB Help
browser.
View Completed Layout and Its GUI M-File
If you are reading this in the MATLAB Help browser, you can click the
following links to display the GUIDE Layout Editor and the MATLAB Editor
with a completed version of this example. This enables you to see the values of
Zobrazit stránku 243
1 2 ... 239 240 241 242 243 244 245 246 247 248 249 ... 329 330

Komentáře k této Příručce

Žádné komentáře