MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Instrukcja Użytkownika Strona 292

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 408
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 291
7 ActiveX and DDE Support
7-6
MATLAB ActiveX Client Support
In order to use an ActiveX component with MATLAB or with any ActiveX
client, you first need to consult the documentation for that object and find out
the name of the object itself (known as the ProgID), as well as the names of the
interfaces, methods, properties, and events that the object uses. Once you have
this information, you can integrate that object with MATLAB by using the
ActiveX client support.
Using ActiveX Objects
You create an ActiveX control or server in MATLAB by creating an instance of
the MATLAB
activex class. Each instance represents one interface to the
object.
Note This book uses ActiveX to refer to the generic ActiveX control/server
and activex to refer to the MATLAB class/object.
Creating ActiveX Objects
There are two commands used to create activex objects initially.
Manipulating the Interface
Once you create an activex object that represents an interface, you can
manipulate it by invoking methods on the object to perform various actions.
These methods are implemented for the
activex class.
actxcontrol
Creates an ActiveX control
actxserver
Creates an ActiveX automation server
Method Description
delete
Deletes an activex object
get
Gets a property value from an interface or displays a
list of properties
Przeglądanie stron 291
1 2 ... 287 288 289 290 291 292 293 294 295 296 297 ... 407 408

Komentarze do niniejszej Instrukcji

Brak uwag