MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guía de usuario Pagina 324

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 759
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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
Vista de pagina 323
1 2 ... 319 320 321 322 323 324 325 326 327 328 329 ... 758 759

Comentarios a estos manuales

Sin comentarios