Linking Matlab Libraries to Mingw for Another C++ Program

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.

Antworten (1)

Bruno Luong
Bruno Luong am 7 Nov. 2023

0 Stimmen

1 Kommentar

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.

Melden Sie sich an, um zu kommentieren.

Produkte

Version

R2023b

Gefragt:

am 7 Nov. 2023

Kommentiert:

am 8 Nov. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by