Downloading MATLAB from command line

84 次查看(过去 30 天)
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

回答(3 个)

Dave Behera
Dave Behera 2015-12-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 个评论
Scott Lowe
Scott Lowe 2015-12-4
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 2017-6-22
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

请先登录,再进行评论。


MAMATA DAS
MAMATA DAS 2017-7-8
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 2019-6-26
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 个评论
John Dey
John Dey 2020-8-2
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 2020-8-2
https://vitux.com/four-web-browsers-for-the-linux-command-line/

请先登录,再进行评论。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by