MATLAB Answers


How can I distribute my application and hide my code for users who may or may not have MATLAB?

I would like to distribute my MATLAB application in such a way that my algorithm and code are hidden.

1 Answer

Answer by MathWorks Support Team on 19 May 2010
 Accepted Answer

This change has been incorporated into the documentation in Release 2010a (R2010a). For previous releases, read below for any additional information:
If your users have MATLAB installed, consider using PCODE. For more information, type "doc pcode" at your MATLAB command prompt.
If your users do not have MATLAB installed, then you should consider using the MATLAB Compiler, which will encrypt your MATLAB code before distributing it as a stand-alone executable. For more information on MATLAB Compiler, see the following URL:


Sign in to comment.