File Exchange lets you find and share custom applications, classes, code examples, drivers, functions, Simulink models, scripts, and videos. With File Exchange, you can:
Your use of File Exchange is subject to the MATLAB Central Terms of Use.
You can submit files of up to 20 MB. To submit a file, log in to your Community Profile. If you don't have a profile, you'll need to create one. On your account page click on “Contribute” to either upload a file from a computer or link to GitHub repository.
When you link to files hosted in a GitHub repository, your files remain in the GitHub repository; File Exchange does not store them locally. Community members can find these files in File Exchange and then download them from GitHub directly. Community members who download files linked to GitHub are responsible for validating the content and licensing of these files. The direct connection between File Exchange and GitHub means that contributors can develop software projects in a single environment without having to upload files to both locations. Contributors get all the benefits of collaborative development in GitHub while community members get access to the latest version of your projects -- whether they start from File Exchange or GitHub.
By using the “Link to an External Website” option when contributing to File Exchange, you can share your website containing your MATLAB-related project. With this option:
File Exchange offers an extensive online library of files. You can find files by:
When you find a file, you can open it to view details; add tags, a rating, and comments; or download the submission.
File Exchange assigns content types to files based on information associated with your submission.
Content Is Assigned This Type | When Files Have This Extension | And the Submission Contains these Criteria |
---|---|---|
App |
.mlappinstall |
- |
Driver |
.mdd |
- |
Example |
.m |
/html subdirectory .html file with the same name as the MATLAB .m file |
Function |
.m |
|
Simulink Model |
.mdl |
- |
Video |
.avi, .mp4, .wmv, .mpg, .mov, .swf, .mpeg |
- |
Tip: For file submitters, if a file in your submission is displayed but shows a message Preview image not found instead of a preview image, add an image with the same filename as your code in the same directory and File Exchange will display the image with your file. Example: If you have a file called "foo.mdl", adding a screenshot called foo.gif will display a screenshot of your Simulink model to users instead of this message.
Search directives help you find files on File Exchange. You can specify search directives in the search box.
Search Result | Directive | Examples |
---|---|---|
Author with this name |
author: |
|
Author with an average file rating of 1 to 5 |
authoraverage: |
|
Community member with this company/organization name listed in their public profile |
organization: |
|
Content type |
type: |
|
File identification number, which appears at the top of the File Details page |
id: |
|
License that includes this string |
license: |
|
Average community rating with this number |
rating: |
|
Tags with this string applied to published submissions |
tag: |
author:"Helen Chen"
.tag:graphics
tag:vector
finds all files tagged with both graphics
and vector
. -tag:game
excludes all files with the tag game
.Tags provide bookmark information to help find or recall files of interest. With tags, you can browse submitted files using assigned keywords. Community members with profiles can tag any file. All tags are public; anyone can view them.
From your profile, you can see tags you've applied to files. Within a file, you can see tags applied by everyone in the community. By tagging, you give community members insight into your interests, making it easier to collaborate and exchange ideas.
You can add tags when submitting new files or viewing existing ones. Use commas to separate multiple tags and quotation marks to indicate multiword tags.
You can rate files using one to five stars (lowest to highest). When rating files, add comments to support your rating and share usage notes with the author and other community members.
Citation instructions help community members reference your work when they use it in their own research or derivative works. For example, you may want others to cite your File Exchange detail page, a research article you wrote, a group you are affiliated with, or some combination of artifacts.
New File Exchange entries are created with a default citation instruction, which you can delete. In addition, you can: