How to encrypt the .m source code.

39 views (last 30 days)
aero123
aero123 on 26 Nov 2021
Commented: Walter Roberson on 26 Nov 2021
I have to share the matlab code with the company, but I want to encrypt it so that the company doesn't know my source code.
The encrypted code should not be inverted to the original source code.
I looked up the pcode, and it was said that it was not recommended because the converted code was not encrypted, so it was difficult to use.

Answers (1)

C B
C B on 26 Nov 2021
So here are the some links from help
You can look at second option
  • Compile into binary format — Compile your source code files using the MATLAB Compiler to produce a standalone application. Distribute the latter to end users of your application.
  3 Comments
C B
C B on 26 Nov 2021
Omg i didn't knew that. Is it the same case with .p file ?
Walter Roberson
Walter Roberson on 26 Nov 2021
It is known for sure that some people can extract readable code from .p files.

Sign in to comment.

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!