Using BSD license out of Matlab File Exchange

조회 수: 4 (최근 30일)
Ive J
Ive J 2015년 6월 9일
댓글: Ive J 2015년 6월 9일
Dear All,
Is it possible to get a BSD license (i.e. using the same format of all files existing in file exchange) for my MATLAB codes "without" uploading them on File Exchange. In fact, I intend to upload my codes elsewhere. If this is not possible, would you please suggest an alternative such as, GNU GENERAL PUBLIC LICENSE 3.0+?
Furthermore, does it suffice to only incorporate a license.txt file containing the template text into my software folder? Or I should add a header to each piece of code?
Thanks in advance.

채택된 답변

Guillaume
Guillaume 2015년 6월 9일
You can assign whichever license you wish to your code, regardless of where you put it. Lots of software use the BSD license, it's not the property of Mathworks.
To assign the license to your code, the only thing you'd have to do is just to state it. You can do that any way you want, via a license.txt file, a header in each source code file.
Note that the BSD license and the GNU GPL license are fundamentally different. With BSD anyway distributing your code with theirs only has to include your copyright notice, with GPL they also have to include your and their source code. There are plenty of other open source licenses to choose from as well.
If you do really care about the license, you need to seek the advice of a lawyer.
  댓글 수: 1
Ive J
Ive J 2015년 6월 9일
Dear Guillaume,
Thanks for your helpful response.
Best regards,

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

추가 답변 (1개)

Walter Roberson
Walter Roberson 2015년 6월 9일
You just include a license text file of the terms you want. In a larger project you may wish to include the license text in the main function and you might want to say "see license file" in the other ones.
Legally, there are only two statuses in most countries: a "sufficiently original" work is either copyrighted or it is Public Domain.
Public Domain requires a clear statement that the work is released to the public domain (except for certain works such as some produced by some goverments of some countries.) The release to the public domain must not have any phrase such as "copyright": if it says it is "Copyright John Q. Public, released to the Public Domain" then it retains its copyright and is not Public Domain. Public Domain can give credit for the work, can say who the author is, but must unambiguously say "Public Domain". Public Domain works are not copyrighted and may be used by anyone for any reason. If there are any conditions expressed like "Released to the Public Domain, may be used for free for non-commercial purposes" then it is not released to the Public Domain. Public Domain must relinquish all rights, give no conditions at all.
In most other countries, anything that is not explicitly public domain and is "sufficiently original" is automatically copyrighted, even if the work does not say so and even if no registration steps were taken. Registering a copyright may allow increase in damages for violation of copyright, but unregistered works are copyright from the moment they are created.
Other than copyright registration notices, everything else in a copyrighted workk is license terms, the terms under which people may use the copyrighted material. If you want to permit your work to be used for free by people with tattoos of Yogi Bear and no-one else, then you can do that. Just don't expect people to notice and obey, not in practice.
Using a BSD license or one of the GPL is then just a matter of templating: the licenses have been looked over and designed to fit certain purposes, and if they fit your purpose then you can just include them. If you use one of the common licenses like BSD then people may have read the same license before and so will not need to read what you wrote / copied. Saves mental energy.
  댓글 수: 1
Ive J
Ive J 2015년 6월 9일
Dear Walter,
Thanks for your insightful answer. It seems to me that BSD would be of more practical use, due to its easy-to-read prose.
Regards,

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

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by