File Exchange lets you find and share custom applications, classes, code examples, drivers, functions, Simulink models, scripts, and videos. With File Exchange, you can:
You can submit files of up to 20 MB. To submit a file, log in to your MathWorks account or create one.
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 file.
Searching for files submitted by McGarrity. Note the areas (left) for refining the search by content type, category, or time frame.
File Exchange organizes files into predefined categories that are based on a common theme, such as industry, application, or purpose. Categories are collections of tags that are managed by File Exchange administrators. You can add tags to a file and help define the categories in which a file appears. Any community member can add tags, ratings, and comments to existing submissions. You can help make categories more useful to other members by adding meaningful and consistent tags to files that you submit or use.
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 |
.m |
|
Class |
.m |
|
Driver |
.mdd |
- |
Example |
.m |
/html subdirectory .html file with the same name as the MATLAB .m file |
Function |
.m |
|
Script |
.m |
Any other files with the .m extension that are not in Example, Class, App, or Function |
Simulink Model |
.mdl |
- |
Video |
.avi, .mp4, .wmv, .mpg, .mov, .swf, .mpeg |
- |
Search directives help you find files on File Exchange. You can specify search directives in the search box. Values you enter on the Advanced Search page or edits you make to the URL are other ways to fine-tune searches.
| 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: |
|
Community member with this string in their email address |
email: |
|
Comments by a community member with this name |
commentby: |
|
Content type |
type: |
|
Category with this name |
category: |
|
File identification number, which appears at the top of the File Details page |
fileid: |
|
License that includes this string |
license: |
|
Average community rating with this number |
rating: |
|
Published .m file status |
publishedmfile: |
|
Tags with this string applied to published submissions |
tag: |
|
User with this ID and a given tag |
tagpair:userid#/tag |
|
User with this ID and this rating or higher |
ratepair:userid#/rating |
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.
Adding ratings and comments to submitted files (top); seeing ratings and comments during a search (bottom).