Connecting to a "Type Library" type automation server

조회 수: 2 (최근 30일)
Scott
Scott 2013년 12월 20일
편집: Scott 2013년 12월 20일
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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Use COM Objects in MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by