MATLAB: How to distribute the application and hide the code for users who may or may not have MATLAB

codeencryptencryptionhidingMATLAB Compilerobfuscation

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

Best 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: