MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Instrukcja Użytkownika Strona 289

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 330
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 288
GUI with Axes, Menu, and Toolbar
12-11
Techniques Used in the Example
This example illustrates the following techniques:
Passing input arguments to the GUI when it is opened
Obtaining output from the GUI when it returns
Shielding the GUI from accidental changes
Running the GUI across multiple platforms
Creating menus
Creating toolbars
Achieving proper resize behavior
Note This example uses nested functions. For information about using
nested functions, see Nested Functions in the MATLAB documentation.
View the Completed GUI M-Files
If you are reading this in the MATLAB Help browser, you can click the
following links to display the MATLAB Editor with complete listings of the
code used in this example.
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 the main GUI M-file in the MATLAB Editor.
Click here to display the utility
iconRead M-file in the MATLAB Editor.
Creating the Data
The example defines two variables mOutputArgs and mPlotTypes.
mOutputArgs is a cell array that holds output values should the user request
them. It later assigns a default value to this argument.
Przeglądanie stron 288
1 2 ... 284 285 286 287 288 289 290 291 292 293 294 ... 329 330

Komentarze do niniejszej Instrukcji

Brak uwag