Skip to content

Commit

Permalink
matlab bindings: Minor path update to find iio-wrapper.h when loading…
Browse files Browse the repository at this point in the history
… library

Signed-off-by: Pagadarai <Srikanth.Pagadarai@analog.com>
  • Loading branch information
SrikanthPagadarai committed Jan 29, 2025
1 parent 9400873 commit e417fb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bindings/matlab/+adi/+libiio/helpers.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
elseif isunix
headerPath = '/usr/include/iio'; % FIXME
end
headerWrapperPath = strcat("..", filesep);
helpersFilePath = fileparts(mfilename('fullpath'));
headerWrapperPath = strcat(helpersFilePath, filesep, "..", filesep, "..", filesep);
loadlibraryArgs = {headerWrapperPath+headerWrapperFile,'includepath',headerPath,'addheader',headerFile};
end

Expand Down

0 comments on commit e417fb7

Please sign in to comment.