DLL for a COM server

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

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2012년 9월 4일
편집: Kaustubha Govind 2012년 11월 16일

0 개 추천

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

John
John 2012년 11월 15일
Again, nice answer, but a broken link. Get with it, Mathworks Support!
Kaustubha Govind
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. :)

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Use COM Objects in MATLAB에 대해 자세히 알아보기

제품

질문:

2012년 9월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by