diff --git a/bindings/matlab/test/testLoadLibrary.m b/bindings/matlab/test/testLoadLibrary.m new file mode 100644 index 000000000..61c40fe78 --- /dev/null +++ b/bindings/matlab/test/testLoadLibrary.m @@ -0,0 +1,10 @@ +if isunix + hfile = '/usr/share/libiio/matlab/iio-wrapper.h'; + loadlibraryArgs = {hfile,'includepath','/usr/local/include','addheader','iio.h'}; + [a2, b2] = loadlibrary('libiio', loadlibraryArgs{:}); + libfunctions('libiio') +elseif ispc + % Code to run on Windows platform +end + + \ No newline at end of file