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.

Réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by