Is it possbile to protect the code of a matlab live script?

10 ビュー (過去 30 日間)
Andreas Humbert
Andreas Humbert 2022 年 8 月 30 日
コメント済み: Walter Roberson 2022 年 8 月 30 日
I wrote a matlab live script and want to share the script with protected code. The code shouldn't be visible in the protected version.
Is there a possibility to protect the live script?
Thank you in advance.

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2022 年 8 月 30 日
make a p code.
doc pcode
  1 件のコメント
Walter Roberson
Walter Roberson 2022 年 8 月 30 日
The documentation for pcode() specifically indicates that it does not support mlx. The LiveScript implementation to be hidden would have to be converted to .m first -- but .m (or .p) invoked from within LiveScript act differently than LiveScript -- and there would be no support for aspects such as controls.


Community Treasure Hunt

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

Start Hunting!

Translated by