File Exchange Licensing FAQ
- Why does the File Exchange require licensing?
- What is the BSD license?
- Why does MathWorks require the BSD license for File Exchange?
- How does my File Exchange submission add the BSD license?
- Can I submit to File Exchange with a different license?
- Can I modify the text or terms of the BSD license?
- What copyright year should I use?
- Do I have to ask an author's permission to use BSD-licensed code?
- Do I have to acknowledge the author of code I'm reusing?
- How do I change the details of my license after I've submitted it?
Licensing clarifies the rights you have as an author and as a user of the code available on the File Exchange. Licensing details how the file can be used and addresses common questions around rights to modification, distribution, and commercial use.
The text of the BSD license is available on the Open Source Initiative site.
The BSD license is simple, well-known, open source, and permissive. It is one of the most widely used licenses approved by the Open Source Initiative. It is short enough to fit on an index card.
The license information will be added automatically to new and updated File Exchange submissions.
You can use other licenses if your File Exchange submission is linked to GitHub. The BSD license is the standard license for community-contributed content that is uploaded to File Exchange from your computer.
No. The license text will be generated when you upload or update a file, and must not be altered to remain valid for the File Exchange.
Use the year in which the file was published.
No. Permission to use the code is granted in the license.
No, but you do have to keep the original BSD license attached to the code and include it with any derivative work you create.
Use the regular update process on the File Exchange. You'll find an "update" link on the file detail page for each of your existing submissions. Change the relevant license details in the License and Acknowledgements section of the update page, and resubmit.