Can a script m-file be encrypted?

Can all or part of a script m-file be encrypted and still be usable in MATLAB?

 採用された回答

Walter Roberson
Walter Roberson 2016 年 11 月 11 日

1 投票

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.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeEncryption / Cryptography についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by