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

  • 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 554
Compose and Code GUIs with Interactive Tools
setprop(object_handle,'pos')
ans =
set(object_handle,'Position',[20 20 60 20])
If you omit the property name, the function displays a GUI listing all the
properties of the object.
setprop(object_handle)
When you select a property name from the list and click OK, setprop returns
a set string for that property and its current value:
ans =
set(btn1,'FontName','MS Sans Se rif')
The setprop function places its return value on the system clipboard. You can
paste the result directly into your GUI code file. If you copy something else
before pasting, copy the value printed for
ans (or the variable you assigned
values to) from the Command Window and paste it into your code.
11-67
Vue de la page 554
1 2 ... 550 551 552 553 554 555 556 557 558 559 560 ... 758 759

Commentaires sur ces manuels

Pas de commentaire