How can I protect a public script from being changed?
조회 수: 10 (최근 30일)
이전 댓글 표시
I write scripts that I would like other Matlab users to run but I do not want them to be able to modify it. Is there a way to protect a script that I make public?
댓글 수: 1
채택된 답변
OCDER
2018년 8월 7일
Perhaps convert your code to p-code to discourage modifying your codes. It is NOT a full protection for modifying your codes though.
Complete protection against modification is tricky. This would require compiling your code via something like mcc, and if you really want, adding some security checks against modification / reverse engineering (that's above my skill set). But then, its not really usable via Matlab sessions.
I think p-code is what you're aiming for.
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!