C++ exception error when using matab shared library with image processing toolbox

In my .m file, the image processing toolbox is using, like imadjust or thresold functions, and I built it to shared library, and tried to use C++ to call this dll library. If I delete toolbox's functions, it works fine, but when I adding toolbox's functions, the C++ program will throw an exception with memory error.
Should I add any toolbox library or miss any step when I call the library in C++? I'm sure the version and platform is right, as the library without toolbox function works fine.

回答(0 个)

类别

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

提问:

2020-11-16

编辑:

2020-11-16

Community Treasure Hunt

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

Start Hunting!

Translated by