MATLAB Answers

0

How do I prevent my P-code from being re-distributed?

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.

1 Answer

Answer by MathWorks Support Team on 28 Jan 2011
 Accepted Answer

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 Comments

Sign in to comment.