How to encrypt the .m source code.

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.

답변 (1개)

Chetan Bhavsar
Chetan Bhavsar 2021년 11월 26일

0 개 추천

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.

댓글 수: 4

Walter Roberson
Walter Roberson 2021년 11월 26일
Note: a few people seem to have worked out how to reverse the executable produced by MATLAB Compiler back into readable source code. It does not appear to be widespread, but it is possible.
Chetan Bhavsar
Chetan Bhavsar 2021년 11월 26일
Omg i didn't knew that. Is it the same case with .p file ?
Walter Roberson
Walter Roberson 2021년 11월 26일
It is known for sure that some people can extract readable code from .p files.
Hadi
Hadi 2024년 5월 22일
HI can you give me a descreption of how to use the mex command with .m files (class) type . thanx in advance ;

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

제품

릴리스

R2021a

질문:

2021년 11월 26일

댓글:

2024년 5월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by