using SDK written in C

1 次查看(过去 30 天)
Shahidul Asif
Shahidul Asif 2021-3-7
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
Walter Roberson 2021-3-7
  2 个评论
Shahidul Asif
Shahidul Asif 2021-3-8
libfunctions() shows no function after loading. What am I missing?
Walter Roberson
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 CenterFile Exchange 中查找有关 C Shared Library Integration 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by