using SDK written in C
1 view (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Walter Roberson
on 7 Mar 2021
Note that the procedure is different for C++; see https://www.mathworks.com/help/matlab/call-cpp-library-functions.html
2 Comments
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')
See Also
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!