not able to load Array Factory in shared C++ library
10 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Yongjian Feng
2021-7-18
Check the dependency of those two libs you mentioned above. If matlab has trouble to find those, it can failed the load as well.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Troubleshooting in MATLAB Compiler SDK 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!