Connecting to a "Type Library" type automation server

3 Ansichten (letzte 30 Tage)
Scott
Scott am 20 Dez. 2013
Bearbeitet: Scott am 20 Dez. 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

Antworten (0)

Kategorien

Mehr zu Use COM Objects in MATLAB finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by