Can a script m-file be encrypted?

3 Ansichten (letzte 30 Tage)
John Miller
John Miller am 11 Nov. 2016
Beantwortet: Walter Roberson am 11 Nov. 2016
Can all or part of a script m-file be encrypted and still be usable in MATLAB?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 11 Nov. 2016
You have three options:
1) Use pcode which obfuscates code (makes it more difficult to access and understand) but does not actually encrypt it.
2) Use MATLAB Compiler to compile everything. MATLAB Compiler encrypts using AES.
3) Use your own encryption scheme. It will be necessary to decrypt the code before it can be executed.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by