Azzera filtri
Azzera filtri

How to use DLL file in MATLAB

10 visualizzazioni (ultimi 30 giorni)
Arun Sharma
Arun Sharma il 7 Mar 2012
i want to use the function available in a dll file..
HID.dll
to use usb communication. i have read about the loadlibrary function. but don't know how to use this. whenever i use loadlibrary(hid.dll)
it shows error..
can anyone one how to use the dll file functions..
Thanks in Advance

Risposte (1)

Walter Roberson
Walter Roberson il 7 Mar 2012
loadlibrary('hid.dll', 'hid.h')
However, you should probably not be calling the HID routines yourself. See http://www.mathworks.com/matlabcentral/answers/25035-matlab-and-hid-communication

Categorie

Scopri di più su MATLAB Compiler in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by