using SDK written in C
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Walter Roberson
am 7 Mär. 2021
Note that the procedure is different for C++; see https://www.mathworks.com/help/matlab/call-cpp-library-functions.html
2 Kommentare
Walter Roberson
am 8 Mär. 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')
Siehe auch
Kategorien
Mehr zu Troubleshooting in MATLAB Compiler SDK finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!