Downloading MATLAB from command line

93 vues (au cours des 30 derniers jours)
Scott Lowe
Scott Lowe le 1 Déc 2015
Commenté : Walter Roberson le 2 Août 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

Réponses (3)

Dave Behera
Dave Behera le 3 Déc 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 commentaires
Scott Lowe
Scott Lowe le 4 Déc 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 le 22 Juin 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

Connectez-vous pour commenter.


MAMATA DAS
MAMATA DAS le 8 Juil 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 le 26 Juin 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 commentaires
John Dey
John Dey le 2 Août 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 le 2 Août 2020
https://vitux.com/four-web-browsers-for-the-linux-command-line/

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by