How to call matlab functions from a C/C++ project..???

1 visualizzazione (ultimi 30 giorni)
Anuj Agrawal
Anuj Agrawal il 25 Feb 2014
Risposto: Prateekshya il 27 Ago 2024
I have a project written in C/C++ and I want to access some functions from the MATLAB. Is this possible and how.??/

Risposte (1)

Prateekshya
Prateekshya il 27 Ago 2024
Hello Anuj,
MATLAB Engine API for C++ provides an interface for C++ to launch MATLAB, use MATLAB functions and exchange data. Please refer to the below documentation to get started:
For this, you will need a compiler that supports C++11. You can find other supported compilers in the above link.
I hope this helps!

Community Treasure Hunt

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

Start Hunting!

Translated by