MATLAB Answers

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

14 views (last 30 days)
I would like to distribute my MATLAB application in such a way that my algorithm and code are hidden.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 17 Feb 2021
Edited: MathWorks Support Team on 17 Feb 2021
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:

More Answers (0)

Community Treasure Hunt

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

Start Hunting!