Linking Matlab Libraries to Mingw for Another C++ Program

5 vues (au cours des 30 derniers jours)
BURAK
BURAK le 7 Nov 2023
Commenté : BURAK le 8 Nov 2023
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.

Réponses (1)

Bruno Luong
Bruno Luong le 7 Nov 2023
  1 commentaire
BURAK
BURAK le 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.

Connectez-vous pour commenter.

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by