How can I distribute my application and hide my code for users who may or may not have MATLAB?
11 views (last 30 days)
Show older comments
MathWorks Support Team
on 19 May 2010
Commented: David Leffingwell
on 12 Jun 2023
I would like to distribute my MATLAB application in such a way that my algorithm and code are hidden.
Accepted Answer
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:
1 Comment
David Leffingwell
on 12 Jun 2023
Also for a general discussion of options to protect your source code, see Security Considerations to Protect Your Source Code
More Answers (0)
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!