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

11 ビュー (過去 30 日間)
Jerald Rufus
Jerald Rufus 2021 年 6 月 11 日
回答済み: Yongjian Feng 2021 年 7 月 18 日
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 件)

Yongjian Feng
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.

カテゴリ

Help Center および File ExchangeTroubleshooting 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