c ++ library using matlab

2 views (last 30 days)
Surya
Surya on 15 Apr 2011
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
Kaustubha Govind on 15 Apr 2011
You have the following options:
  1. MATLAB Compiler: To generate C/C++ shared libraries from MATLAB code.
  2. 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
  3. 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 Get Started with MATLAB Compiler SDK 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!