using SDK written in C

1 view (last 30 days)
Shahidul Asif
Shahidul Asif on 7 Mar 2021
Commented: Walter Roberson on 8 Mar 2021
I have SDK for a camera written in C. I need to use it in Matlab (the vendor has no direct toolbox to use in matlab). How do I do it?

Answers (1)

Walter Roberson
Walter Roberson on 7 Mar 2021
  2 Comments
Shahidul Asif
Shahidul Asif on 8 Mar 2021
libfunctions() shows no function after loading. What am I missing?
Walter Roberson
Walter Roberson on 8 Mar 2021
Unfortunately I do not have a compiler installed at the moment to test with on the desktop. But when I do the below with MATLAB Online, I do see a list of functions.
addpath(fullfile(matlabroot,'extern','examples','shrlib'))
if not(libisloaded('shrlibsample'))
loadlibrary('shrlibsample')
end
libfunctions('shrlibsample')

Sign in to comment.

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!