| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
After finding a file of interest, get the file from the repository to use it in MATLAB.
Choose from these options when downloading files:
Download from the list of files or from the details page
Download to the default folder, the current folder, or another folder
The file downloads to the last download folder used. If you did not previously specify a folder, the file downloads to the default folder.
Go to the list of files.
For the file you want to download, click the download
button
.
Confirm or cancel the download in the resulting dialog boxes.
Go to the file details page.
Click the arrow on the Download button.

From the drop-down menu, select a location.
Confirm or cancel the download in the resulting dialog boxes.
To download a file to the last download location used, click Download on the file details. page.
The default location for downloads is Documents/MATLAB/Downloads.
On your system, Documents could be My Documents or something similar.
| To... | Use this Location |
|---|---|
| Easily find your downloaded files | Default folder |
| Easily run a file immediately after downloading it | Current folder in MATLAB |
| Use a hierarchy of folders for managing files | A folder you specify |
A "file" in the File Exchange repository is a submission that can be one file or can consist of multiple related files.
For a submission containing multiple files, File Exchange:
Downloads a single zip file containing the files.
Creates a folder within the download folder you specified.
Unzips the files into the folder.
You could see a folder within a folder for one download.
If the author submitted the files to the repository in a folder, File Exchange maintains the files in the folder. When you download, the standard zip and unzip process creates a second folder level.
You can remove one of the extra folders. If you remove an extra folder, the download history becomes inaccurate for that file.
Use the download history to view and locate files you downloaded.
Click the Download History button.
In the resulting dialog box, view the files you downloaded.
Example of download history window:

If you changed the name or location of a downloaded file, the download history does not reflect your changes.
To find a file you downloaded:
Click the Download History button.
In the resulting dialog box, select a file.
From the context menu, select Change to Containing Folder.
The folder that contains the file becomes the current folder in MATLAB.
To find files easily without using the download history, always download to a single location, such as the default folder, Downloads.
To display the file details page for a file you downloaded:
Click the Download History button.
In the resulting dialog box, select a file.
From the context menu, select Find in File Exchange.
To remove all entries in the download history dialog box:
Click the Download History button.
In the resulting dialog box , click the Clear History button.
![]() | Viewing Details About a File | Best Practices for Using Files Provided by Other Users | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |