not able to load Array Factory in shared C++ library

Hi,
Im creating a CAD automation tool in c++.
Im trying to integrate MATLAB into c++ using MATLAB shared c++ DATA API.
But the initialization of array factory fails with exception message failed to load library. (md::ArrayFactory factory;)
libMatlabCppSharedLib.lib & libMatlabDataArray.lib library files are already copied to the project folder and also added in reference files.
Kindly help

回答(1 个)

Check the dependency of those two libs you mentioned above. If matlab has trouble to find those, it can failed the load as well.

类别

帮助中心File Exchange 中查找有关 Troubleshooting in MATLAB Compiler SDK 的更多信息

产品

版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by