not able to load Array Factory in shared C++ library
조회 수: 11 (최근 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!