Search code examples
c++cmatlabstatic-librariesmatlab-deployment

Create a static lib from matlab code


I'm already aware that you can create a stand alone executable and a shared lib from matlab. However, it would be better for our configuration management process (version and distribution) to use a static lib that then is included in the dll I'm building (in C++).

This may not be possible at all, but I'm curious. Has anyone done that before?


Solution

  • With a little google-fu I found this: Generating Static C/C++ Libraries from MATLAB Code

    It looks like you can create them from projects or from the command line.