Downloading MATLAB from command line

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

Risposte (3)

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 Commenti

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?
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

Accedi per commentare.

MAMATA DAS
MAMATA DAS il 8 Lug 2017

0 voti

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 il 26 Giu 2019

0 voti

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 Commenti

There is no GUI for my LInux system. No Browser. Would be helpful if you offer a wget command for R2020a.
https://vitux.com/four-web-browsers-for-the-linux-command-line/

Accedi per commentare.

Prodotti

Richiesto:

il 1 Dic 2015

Community Treasure Hunt

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

Start Hunting!

Translated by