DLL for a COM server

1 visualización (últimos 30 días)
Damien
Damien el 3 de Sept. de 2012
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

Respuestas (1)

Kaustubha Govind
Kaustubha Govind el 4 de Sept. de 2012
Editada: Kaustubha Govind el 16 de Nov. de 2012
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 comentarios
John
John el 15 de Nov. de 2012
Again, nice answer, but a broken link. Get with it, Mathworks Support!
Kaustubha Govind
Kaustubha Govind el 16 de Nov. de 2012
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. :)

Iniciar sesión para comentar.

Categorías

Más información sobre Use COM Objects in MATLAB en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by