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?

1 回表示 (過去 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 Center および File ExchangeAudio 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