MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guida Utente Pagina 324

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 759
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 323
1 2 ... 319 320 321 322 323 324 325 326 327 328 329 ... 758 759

Commenti su questo manuale

Nessun commento