Is it posiible to hide a source code?

Hello,
what is the best way to hide source code of Matlab. Indeed, I want to give a code to users to execute it without being able to access it.
Thnak you !

 採用された回答

Bruno Luong
Bruno Luong 2020 年 9 月 18 日

1 投票

pcode myfun

6 件のコメント

Walter Roberson
Walter Roberson 2020 年 9 月 18 日
Note that pcode is not high security: it is "nuisance security".
ConanTaieb
ConanTaieb 2020 年 9 月 18 日
編集済み: ConanTaieb 2020 年 9 月 18 日
Thank you, I read for experts who say that pcode not the perfect solution, for this reason I asked the question...
But also, I use in my code "Parfor", and when I run the .p file I receive a error " Parfor statements are not supported in P-code script files.
Bruno Luong
Bruno Luong 2020 年 9 月 18 日
Athoner option if compile the code using MCC if you have the toolbox.
There is other solution is encrypt using HASP key. None of the solution is perfect. There is no suhc thing.
Cracking pcode and possibily MCC become trivial for those how have access to decrypt SW.
ConanTaieb
ConanTaieb 2020 年 9 月 18 日
Thank you,
Juste How I can add an expiration date and time to my pcode file?
Rik
Rik 2020 年 9 月 18 日
If you are willing to rely on the system time you can use now to retrieve the current date and compare it to an expiration date. If you don't trust the user, then you should host your own server that returns a time. Don't use the publicly available options, as you don't control whether they allow API access and might go down without warning.
ConanTaieb
ConanTaieb 2020 年 9 月 18 日
@ Rik
Good, thank you

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangePlatform and License についてさらに検索

タグ

質問済み:

2020 年 9 月 18 日

コメント済み:

2020 年 9 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by