DLL for a COM server
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I am trying to use a DLL file known to be a COM server. But I don't know how to use this type of file with Matlab. I have tried 'loadlibrary' function but I have only a dll file and not a h file. Could you help me and say me what function I have to use in order to load it. Thanks a lot.
Damien
0 个评论
回答(1 个)
Kaustubha Govind
2012-9-4
编辑:Kaustubha Govind
2012-11-16
I think you need to register your DLL as a COM Server on your machine using regsvr32 and then use the ACTXSERVER command in MATLAB to start that COM Server. Please see COM Objects for more information.
2 个评论
Kaustubha Govind
2012-11-16
John: Thanks for pointing that out, I've fixed the link. Also, just FYI, this forum is not maintained by MathWorks Support, but by the MATLAB Central community. :)
另请参阅
类别
在 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!