how to generate c++ static library from matlab code

3 views (last 30 days)
hi,
is it possible to generate c++ static library from matlab code. If so how.
Thanks

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 7 Nov 2012
Assuming that you are only using the subset of the MATLAB language that is supported for code-generation, you can generate a static library using the MATLAB Coder product.
If you can make do with DLLs/shared libraries, another option is MATLAB Compiler which supports most MATLAB functionality, but generates code that depends on some MATLAB run-time libraries, which requires that you install the MATLAB Compiler Runtime package on every machine that the library is deployed on.

More Answers (0)

Categories

Find more on C Shared Library Integration 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!