loadlibrary: Cannot open file

Hi there,
I'am trying call a lib builded int C++ in my Matlab code, I use the next code:
addpath([matlabroot '\wwp-data-sdk'])
addpath([matlabroot '\wwp-data-sdk\lib-win'])
addpath([matlabroot '\wwp-data-sdk\headers'])
addpath([matlabroot '\wwp-data-sdk\headers\services'])
loadlibrary 'libjpeg' 'center'
And get the next error:
fatal error C1083: Cannot open the file: 'services/thermalfilemanager.h': No such file or directory, this one is a header is included in center.
like this:
center.h (header)
#include <services/thermalfilemanager.h>
the documentation says I need a extern C, but I cannot find the way to build it.

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Call C++ from MATLAB 的更多信息

产品

版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by