What is the easiest way to provide the user with a compiled version of a matlab function so that he can run without having the source?

조회 수: 8 (최근 30일)
I do not want to share the source (a prepared MATLAB function) with the community. What is the most direct way to prepare a compiled version of the function so that the users (having Matlab) can run it?

채택된 답변

Matt J
Matt J 2024년 10월 21일
편집: Matt J 2024년 10월 21일
If the idea is to obscure the source code, consider,
This is not so much "compiling" the source code as encrypting it, but that sounds more like what you are trying to do.
  댓글 수: 2
Walter Roberson
Walter Roberson 2024년 10월 21일
Note that pcode is considered to be more "encoding" rather than "encrypting".
The pcode algorithm changed a few releases ago to make it more obscure. I have not seen anyone post indicating that they have reverse-engineered the new pcode algorithm -- but that doesn't mean that no-one has done it.
pcode should be considered to be a "notable nuisance" level of protection, but definitely not "stops most nation-states" level of protection.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio Plugin Creation and Hosting에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by