Encrypt (?) or compile (?) Matlab code?
2 views (last 30 days)
Show older comments
I would like to share some Matlab code with colleagues. Is there a way to let them use it w/o them being able to see the code?
I guess I am asking if there is an analog to distributing executable Fortran or C or . . . code?
Thanks, Tim
0 Comments
Accepted Answer
the cyclist
on 7 Mar 2012
Yes. See this page for details on "p-code" and the MATLAB Compiler:
These are different solutions, depending on whether or not your colleagues have MATLAB themselves or not.
2 Comments
Jan
on 7 Mar 2012
While you cannot read the contents on the P-coded functions, it is not securely hidden what's going on inside. Therefore it is fine to hide a complicated algorithm, but e.g. a password or a login-procedure is not safe inside a P-file.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!