Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to implement dll with Matlab #42

Open
Neolambo opened this issue May 27, 2022 · 0 comments
Open

How to implement dll with Matlab #42

Neolambo opened this issue May 27, 2022 · 0 comments

Comments

@Neolambo
Copy link

Neolambo commented May 27, 2022

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')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant