MATLAB Answers

Dual licensing in File Exchange - is it possible?

4 views (last 30 days)
Dear community,
In a set of scripts and functions I am planning on publishing on File Exchange I want to include some code from third party sources. These codes include copyright clauses, which are very permissive but not as much as mentioned in the BSD license. Can I include a code with another copyright text in it, or maybe the right question is would the other copyright statements be valid if the BSD license appears as well?
I hope I made myself clear.
Regards, Adi N.
  1 Comment
Andrew Janke
Andrew Janke on 12 Sep 2021
I don't think this is generally what "dual licensing" means. When I've encountered it before, "dual licensing" means that a particular work or piece of code is has multiple different license grants attached to it, and you can use it under the terms of either license. This case sounds more like "mixed licensing" to me.

Sign in to comment.

Accepted Answer

Lindsay Coutinho
Lindsay Coutinho on 5 Jul 2011
Since File Exchange only supports the BSD license, we are not able to publish files from the community that contain any other license types. If your file exists on another website, we’d love to have you submit a link to your file regardless of the license type. You can create a submission to our Link Exchange here: http://www.mathworks.com/matlabcentral/linkexchange/ . Feel free to contact me at files@mathworks.com if you have any further questions.
Thank you,
Lindsay
  1 Comment
Ned Gulley
Ned Gulley on 5 Jul 2011
Another possibility is to publish all the code you wrote under the BSD license, and then carefully document where to get the third-party files that can't be included under the BSD.

Sign in to comment.

More Answers (1)

Andrew Janke
Andrew Janke on 12 Sep 2021
You are now allowed to get submissions with different license terms on to File Exchange if you publish your code to a GitHub repo and link your File Exchange submission to the GitHub repo, instead of directly submitting the file to FX. See https://www.mathworks.com/matlabcentral/FX_transition_faq.html#Different_license.
(I'm not sure when this change went in to effect, but it's been like this for a while now.)

Community Treasure Hunt

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

Start Hunting!

Translated by