c ++ library using matlab
Show older comments
I am using MATLAB 7.10.0 and visual studio 2008. How can I create c++/c#/C library in MATLAB and how do I use it in C# later.
Answers (1)
Kaustubha Govind
on 15 Apr 2011
1 vote
You have the following options:
- MATLAB Compiler: To generate C/C++ shared libraries from MATLAB code.
- MATLAB Builder NE: This is an extension of MATLAB Compiler (also needs MATLAB Compiler license), and can generate COM or .NET components from MATLAB code
- MATLAB Coder: To generate standalone C/C++ code from MATLAB code (only supports a subset of MATLAB functionality.
Note that options 1 and 2 also require the distribution of the MATLAB Compiler Runtime (MCR) along with the generated binaries, while option 3 generate standalone code which doesn't need the MCR.
Categories
Find more on Deploy to C++ Applications Using mwArray API (C++03) 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!