MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manuel d'utilisateur Page 289

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 330
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 288
1 2 ... 284 285 286 287 288 289 290 291 292 293 294 ... 329 330

Commentaires sur ces manuels

Pas de commentaire