How to share p code in FileExchange (or protect my work)

3 ビュー (過去 30 日間)
Daniel Bachrathy
Daniel Bachrathy 2015 年 9 月 10 日
編集済み: David Leffingwell 2023 年 5 月 11 日
Hi!
I have created a matlab function (Multi-Dimensional Bisection Method) and I would like to share it with everybody, but I would like to keep the "knowhow". I would share it in the Matlab File Exchange, but it say: "no DLLs, MEX files, or p-files".
Any solutions or idea?

回答 (2 件)

James Tursa
James Tursa 2015 年 9 月 10 日
Allowing the use of DLLs, MEX file, or p-files generally goes against the philosophy of the FEX. First, as a user it is much harder to learn from "executable" or "black-box" files since there is no source code to look at. Second, it is much more difficult to look for potential bugs or to critique the code if there is no source code to examine. Third, it opens the door for malicious code to be embedded in seemingly harmless code. So if you want to keep your know-how and only provide a "black-box" for the user, you will probably need a different method of distribution and hope your potential users will trust you.
  1 件のコメント
Walter Roberson
Walter Roberson 2015 年 9 月 10 日
For example you might be able to get yourself placed in the Links section of the Mathworks web site, a reference to your page in which you handle the arrangements and distribution.

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


David Leffingwell
David Leffingwell 2023 年 5 月 11 日
編集済み: David Leffingwell 2023 年 5 月 11 日
This documentation might be helpful in providing alternate (Non File Exchange) ways to share without revealing the source code: https://www.mathworks.com/help/matlab/matlab_prog/protect-your-source-code.html

カテゴリ

Help Center および File ExchangeEncryption / Cryptography についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by