MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guia do Utilizador Página 324

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 759
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 323
1 2 ... 319 320 321 322 323 324 325 326 327 328 329 ... 758 759

Comentários a estes Manuais

Sem comentários