How to use DLL file in MATLAB

12 次查看(过去 30 天)
Arun Sharma
Arun Sharma 2012-3-7
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

回答(1 个)

Walter Roberson
Walter Roberson 2012-3-7
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

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by