How Create my extern "C" for C++ and Matlab

4 次查看(过去 30 天)
Hi, I trying use a C++ dll in my matlab code, the information says I need an external C for use it, but I can not figure out how.
if libisloaded('libjpeg')==false
addpath(fullfile(matlabroot,'wwp-data-sdk','lib-win'))
addpath(fullfile(matlabroot,'wwp-data-sdk','headers'))
addpath(fullfile(matlabroot,'wwp-data-sdk','headers','services'))
addpath(fullfile(matlabroot,'wwp-data-sdk'))
end
loadlibrary('wwp-data-sdk.dll','center', 'alias','lib')
I saw the links:

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 C Shared Library Integration 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by