Is it possbile to protect the code of a matlab live script?
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.
0 个评论
回答(2 个)
Fangjun Jiang
2022-8-30
make a p code.
doc pcode
1 个评论
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.
David Leffingwell
2023-6-12
If you have access to the MATLAB Compiler, it will work for Live Script files (MLX).
See also Security Considerations to Protect Your Source Code for a general discussion of the IP Protection topic.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Model Protection 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!