Downloading MATLAB from command line

87 views (last 30 days)
Scott Lowe
Scott Lowe on 1 Dec 2015
Commented: Walter Roberson on 2 Aug 2020
I would like to install MATLAB on a server to run my code remotely, but I am having problems downloading MATLAB.
I know I can download MATLAB from MathWorks when I am logged in, and I can automate this on the command line with wget if I use a cookies.txt file from logging in at my local browser (in principle I should be able to log in with wget, but I haven't got this working yet). However, I can't use the download page with wget because it needs JavaScript.
Is there some other way I can download and install MATLAB onto a remote server using just the command prompt?
Thanks, Scott

Answers (3)

Dave Behera
Dave Behera on 3 Dec 2015
If you want to download MATLAB R2015b windows 64-bit, use the following command:
wget http://esd.mathworks.com/R2015b/win64/INST_661328/matlab_R2015b_win64.exe
and for Linux 64-bit:
wget http://esd.mathworks.com/R2015b/Linux_x86_64/INST_091492/matlab_R2015b_glnxa64.zip
  2 Comments
Scott Lowe
Scott Lowe on 4 Dec 2015
Thanks, Dave.
I tried this on my PC and it worked... but only once and then the links both expired. Is there a persistent link to download MATLAB, or a way to generate new temporary links on demand?
sanjukta padhi
sanjukta padhi on 22 Jun 2017
sir, i can't download matlab from the above command. kindly help. i use Ubuntu 14.04. i want to install matlabR2015a for 64 bit.
thank you

Sign in to comment.


MAMATA DAS
MAMATA DAS on 8 Jul 2017
sir, i can't download matlab from the above command. kindly help. i use Ubuntu 14.04. i want to install matlabR2015a for 32 bit.

Vaibhav Tomar
Vaibhav Tomar on 26 Jun 2019
Hey, if there are glitches in using command line links as they are temporary, I'd suggest you to login and use the Mathworks Official website interface which eases and efficiates the download and installation process. It is really efficient and easy to access. you can use the link https://www.mathworks.com/downloads/ for the latest Matlab versions.
  2 Comments
John Dey
John Dey on 2 Aug 2020
There is no GUI for my LInux system. No Browser. Would be helpful if you offer a wget command for R2020a.
Walter Roberson
Walter Roberson on 2 Aug 2020
https://vitux.com/four-web-browsers-for-the-linux-command-line/

Sign in to comment.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!