Skip to content

Commit

Permalink
matlab bindings: Added test to check that library is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
SrikanthPagadarai committed Jan 29, 2025
1 parent 2cfb0b5 commit dab52a0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bindings/matlab/test/testLoadLibrary.m
Original file line number Diff line number Diff line change
@@ -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


0 comments on commit dab52a0

Please sign in to comment.