How do I prevent my P-code from being re-distributed?
1 次查看(过去 30 天)
显示 更早的评论
I want to protect my code and hide the algorithm when I distributed my application to my customer. I will use the PCODE function to protect my code but I would also like to prevent the user from distributing the application to someone else.
采纳的回答
MathWorks Support Team
2011-1-28
The ability to automatically protect P-code from being copied is not directly available in MATLAB.
There are no workarounds. You may hard-code some elements within the code that would fail some checks once the files are copied, but these methods are not fool-proof.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programming Utilities 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!