MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Uživatelská příručka Strana 324

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 759
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 323
8 Programming a GUIDE GUI
Viewing the Methods for an ActiveX Control
To view the a
vailable methods for an ActiveX control, you first need to obtain
the h andle
tothecontrol. Onewaytodothisisthefollowing:
1 In the GUI c
ode file, add the command
keyboard onaseparatelineof
the
activ
ex1_Click
callback. The command keyboa rd puts MATLAB
software
in debug mode and pauses at the
activex1_Click callback when
you click
the ActiveX control.
2 Run the GUI and click the ActiveX control. The handle to the control is
now set to
hObject.
3 To view the methods for the control, enter
method
sview(hObject)
This displays the available methods in a new window, a s shown in the
following figure.
8-56
Zobrazit stránku 323
1 2 ... 319 320 321 322 323 324 325 326 327 328 329 ... 758 759

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

Žádné komentáře