how to connect or load file.dll to matlab?
11,588
I don't do this often, but i usually do something like:
fullpathToHeader = 'c:\full\path\to\a\header.h';
fullpathToDll = 'c:\full\path\to\a\libraty.dll';
loadlibrary(fullpathToDll, fullpathToHeader);
Then if that works, you can call library functions as:
[outArg1, outArg2, ...] = calllib('library','function',inArg1, inArg2, ...)
Author by
Admin
Updated on June 04, 2022Comments
-
Admin almost 2 years
I want through matlab tutorial but I did not understand it clearly.
Could anyone can explain to me step by step how to load and call
.dll
functions in matlab?I tried to use
loadlibrary
function but I get and error, if anyone can tell we where to put the.dll
file and the.h
file?