Should I encrypt my files before compilation?
Show older comments
If I create a Standalone application by means of MATLAB Compiler are my source codes (m-files) safety after compilation to .exe file or someone anyhow can get an access to m-files of the compilated product? Or should I make p-files from m-files before compilation to Standalone App?
Accepted Answer
More Answers (1)
David Leffingwell
on 12 Jun 2023
0 votes
Using the MATLAB Compiler will encrypt your M files for you. You can also pcode them as well. If you have MATLAB R2022b or later, you can use the -j switch of the MATLAB Compiler to automatically P-code all your M files before they are encrypted and packaged.
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!