How do I change the default download directory for the MATLAB installer in R2014a or newer?
52 views (last 30 days)
Show older comments
MathWorks Support Team
on 3 Jun 2014
Edited: MathWorks Support Team
on 13 Mar 2017
How do I change the default download directory for the MATLAB Installer?
Accepted Answer
MathWorks Support Team
on 13 Mar 2017
Starting in R2014a, the installer automatically tries to download the installation files to the Downloads folder (Windows) or your Home directory (Linux/Mac).If you have size limitations on either directory, you can change the default download directory by passing a -downloadFolder flag to the install script.
On Windows, and example command would look like this:
"C:\Users\Username\Downloads\MATLAB_R2017a\setup.exe" -downloadFolder "D:\Program Files\MATLAB\Downloads"
Alter the file paths in the command above to match where the setup.exe file is located, and where you would like the download folder to be.
On Linux or Mac OS X, this command would look like:
./install -downloadFolder /tmp/MathWorks
0 Comments
More Answers (0)
See Also
Categories
Find more on Downloads in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!