pavel-a / usb-relay-hid

Software for USB-connected relays with HID interface. See the WIKI for more info.
http://vusb.wikidot.com/project:driver-less-usb-relays-hid-interface
242 stars 105 forks source link

How to implement dll with Matlab #42

Open Neolambo opened 2 years ago

Neolambo commented 2 years ago

My problem is that I have to use this dll on matlab tools. But when I try to use it I got error.

libname='usb_relay_device' if ~libisloaded ('libname') hfile='usb_relay_device.h' [notfound, warnings]=loadlibrary (libname, hfile) libfunctions (libname) end [res, st] =calllib (libname, 'usb_relay_init')