Is it legal to publish the source code of Matlab's toolbox functions?

12 ビュー (過去 30 日間)
Jan
Jan 2017 年 1 月 27 日
コメント済み: Jan 2017 年 3 月 13 日
@TMW: Many functions of Matlab's toolboxes can be opened in the editor.
  1. Am I allowed to publish a full copy of such an M-file here in the forum or anywhere else?
  2. What's about a hand full of lines? Should the original copyright note be included?
  3. Does it matter if I do this for educational or commercial purposes?
  4. Am I allowed to modify these file for my own use? What do I have to do, if I want to publish such a modified function?
This is a general question to clarify discussions in the forum and I'm not planning to do this.

採用された回答

Ned Gulley
Ned Gulley 2017 年 1 月 30 日
In general, just keep in mind that it’s not okay to take code from MathWorks products and give it away, whether through MATLAB Answers, the newsgroup, or any other channel. That’s part of the agreement we make with our customers, and it’s also just good manners. It doesn’t make any difference whether it’s for educational or commercial purposes. Regarding small sections of code, please use your own good judgment. Obviously at some point the amount of code could be so small that it doesn’t much matter where it came from. We’re not trying to split hairs. We just want to prevent copying.
The same goes for community-contributed code on the File Exchange. That code comes with an agreement that says if you distribute it, the agreement (license) should travel with it. Please respect that. But the best thing to do is to leave the code in place on the File Exchange where the author put it. That way the author can receive and respond to any feedback about it. Also, the author gets to see accurate download activity, and the downloader is guaranteed to get the latest best version provided by the author. This approach provides the maximum value for the community as a whole.
  1 件のコメント
Jan
Jan 2017 年 3 月 13 日
Thanks, Ned, this was a very useful answer.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by