Linking Matlab Libraries to Mingw for Another C++ Program

1 回表示 (過去 30 日間)
BURAK
BURAK 2023 年 11 月 7 日
コメント済み: BURAK 2023 年 11 月 8 日
Hello everyone!
I am currently trying to write a function inside an open-source framework(called PhysiCell) that will read matlab files and use data inside this framework. The framework using mingw as a compiler but I have lack of information about how to integrate different C++ libraries to open-source project. I have done lot of search for this but most commonly found about "how to compile C++ codes in Matlab" not "how to link matlab data api in mingw". I started with modifing makefile but compile process failed everytime.

回答 (1 件)

Bruno Luong
Bruno Luong 2023 年 11 月 7 日
  1 件のコメント
BURAK
BURAK 2023 年 11 月 8 日
Thanks for your answer. But not exactly. I want to use matdgns.c example in the MATLAB directories to write C++ program that I have mentioned above. I am getting undefined reference error and dont know how to implement MATLAB libraries into Mingw.

サインインしてコメントする。

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by