using SDK written in C
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Walter Roberson
2021년 3월 7일
Note that the procedure is different for C++; see https://www.mathworks.com/help/matlab/call-cpp-library-functions.html
댓글 수: 2
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')
참고 항목
카테고리
Help Center 및 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!