Encrypt (?) or compile (?) Matlab code?

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

 채택된 답변

the cyclist
the cyclist 2012년 3월 7일

0 개 추천

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

Jan
Jan 2012년 3월 7일
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.
Timothy Cale
Timothy Cale 2012년 3월 7일
Jan: I am new to Matlab. Perhaps your comment will make sense to me someday, but at this time I don't know why I would have a password and/or login procedure in Matlab code - let alone how they might be mis-used by a "distributee".
Thanks,
Tim

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by