Connecting to a "Type Library" type automation server

2 vues (au cours des 30 derniers jours)
Scott
Scott le 20 Déc 2013
Modifié(e) : Scott le 20 Déc 2013
I have an executable written in C++ that supports automation. The executable includes a .tbl file. When the program is installed, it registers under "HKLM\Software\Classes\Typelib\{GUID}".
No matter what I try, I cannot get it Matlab to recognize the exe as a COM or ActiveX server. When I query within Matlab using "info = actxcontrollist", i notice that the info returned ONLY includes DLL's and OCX's.
Meanwhile, I can open a .Net or VBA app and I can select and add my C++ server to the list of references and I can connect to it using "IDispatch".
Does Matlab support TypeLibary Server Automation? It would appear from the documentation that I should be able to using the ActxServer M file. If I try h=actxserver, I always get "server Creation Failed: invalid ProgID".
Thanks Scott

Réponses (0)

Catégories

En savoir plus sur Use COM Objects in MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by