MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guide de l'utilisateur Page 144

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 759
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 143
6 Lay Out a GUIDE GUI
retrieve the nam e of the colormap That name, selectedTex t,iscomposed
into a message and placed in the
textStatus static text field, and used by
the
colormap function to reset the colormap. For example, if the user selects
autumn from the popup, the surface changes to shades of yellow, orange, and
red,asshowninthefollowingcutoutfromtheGUI.
The slider control sets the viewing azimuth, causing the plot to rotate when
the user moves its “thum b” or clicks its arrows. Its name is
slider1 and its
callback is
slider1_Callback.
The Data Table. The table in the upper right corner is a uitable component.
When the GUI is created, the table’s
CreateFcn loads the same membrane
data into the table that the plot in the axes below it displays.
The table is by default not editable, b ut by clicking the small Edit toggle
button in its upper left corner the user can edit table values, one at a
time. This button is placed on top of the table, but is not actually part
of it. The table’s
CellEditCallback responds to each table cell edit by
updating the surface plot and displaying the result of the edit in the Action
Panel. Clicking the Edit button again make s the table not editable. See
togglebutton2_Callback i n the control s u ite code file for details on how
this works.
6-30
Vue de la page 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 758 759

Commentaires sur ces manuels

Pas de commentaire