Linking Matlab Libraries to Mingw for Another C++ Program

2 views (last 30 days)
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.

Answers (1)

Bruno Luong
Bruno Luong on 7 Nov 2023
  1 Comment
BURAK on 8 Nov 2023
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.

Sign in to comment.




Community Treasure Hunt

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

Start Hunting!