how to generate c++ static library from matlab code

hi,
is it possible to generate c++ static library from matlab code. If so how.
Thanks

 채택된 답변

Kaustubha Govind
Kaustubha Govind 2012년 11월 7일

0 개 추천

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.

댓글 수: 2

Hi I have a matlab compiler but no matlab coder, how is the compiler used
Please refer to the documentation.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by