How to use DLL file in MATLAB

3 ビュー (過去 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 Center および File ExchangeGet Started with MATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by