How do I change the default download directory for the MATLAB installer in R2014a or newer?
140 views (last 30 days)
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
More Answers (3)
Jorge David Martínez Aguilar on 30 Oct 2019
I have OS(C:) and an DATA (D:). I didnt want to install on my C:, because I didnt have have enough space, so I decided to install on D:.
My solution was:
1. D:\>MATLAB\_temp...setup.exe is where the .exe decompressed
2. D:\MATLAB is the folder where I wanted to install it
Thats it :)
Jaeseok Park on 26 Jan 2015
Hello. I am having the same problem. Can you give instructions on how to edit the install script?