How to call matlab functions from a C/C++ project..???
1 view (last 30 days)
Show older comments
I have a project written in C/C++ and I want to access some functions from the MATLAB. Is this possible and how.??/
0 Comments
Answers (1)
Prateekshya
on 27 Aug 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:
https://www.mathworks.com/help/matlab/calling-matlab-engine-from-cpp-programs.html?s_tid=CRUX_lftnav
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!
0 Comments
See Also
Categories
Find more on Call C++ from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!