matlabmatlab-deploymentmatlab-compilermatlab-coder

How can I package a MATLAB application that utilises toolboxes?


I want to package up an application in MATLAB for another team to use. They will have an appropriate version of MATLAB to run this application, but they might not necessarily have licenses for all the toolboxes used by the application.

Is there a way to "bundle" the toolboxes into the application so that they do not require expensive licenses to run it?

If not, is it possible to create a stand-alone/license independent MATLAB application a different way?

EDIT: Some of these applications might feature GUIs as well as command line interfaces.


Solution

  • The MATLAB Compiler sounds like exactly what you need. Unfortunately, it is a separate Toolbox which you would have to purchase.

    EDIT: I should note that this will compile your MATLAB code into an application/library, not MATLAB code. The other team would still be able to use it with MATLAB, I believe, but I don't think they would be able to see the code itself.