using SDK written in C
显示 更早的评论
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?
回答(1 个)
Walter Roberson
2021-3-7
0 个投票
Note that the procedure is different for C++; see https://www.mathworks.com/help/matlab/call-cpp-library-functions.html
2 个评论
Shahidul Asif
2021-3-8
Walter Roberson
2021-3-8
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')
类别
在 帮助中心 和 File Exchange 中查找有关 Troubleshooting in MATLAB Compiler SDK 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
