Connecting to a "Type Library" type automation server
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File 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!