MATLAB Answers

How to download a Support package for installation on a offline computer for MATLAB R2016a and below?

663 views (last 30 days)
How to download a Support package for installation on a offline computer for MATLAB R2016a and below?
My network has a proxy and the Support Package Installer or Target Installer does not have an option for me to enter my proxy information. I am unable to proceed with the download and installation.
When I try to authenticate the MathWorks log in prompt, it tells me that an error has occurred.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 3 Dec 2020
Edited: MathWorks Support Team on 3 Dec 2020
As long as an internet connection is detected, the Support Package Installer will attempt to have you authenticate your MathWorks account over the internet. If you have proxy server on your network, the Support Package Installer will attempt to inherit the proxy credentials from your MATLAB preferences and then from your operating system settings, in that order. To set your MATLAB proxy settings, see the following article:
If you are still unable to authenticate even after entering your proxy credentials in MATLAB, the authentication process can be circumvented:
Download Instructions
The below steps must be performed on a machine outside of your authenticated proxy with the same MATLAB license installed as the target machine:
  1. Run the command "supportPackageInstaller" in MATLAB.
  2. Select Download from Internet.
  3. Choose your package and specify the download location and click next.
  4. Confirm the download and click the Download button to start the process.
Installation Instructions
  1. Download the .p file that is attached to this article. Place the file in your MATLAB working directory.
  2. Run enableSupportPkgInstallationWithProxy.p. It should return: 'Support package installation enabled with web proxies for this MATLAB session'
  3. Run the command "supportPackageInstaller" in MATLAB.
  4. Select Install from folder and specify the location where you downloaded you files. Click Next.
  5. Select your support package to install and click next.
  6. The Support Package Installer should no longer prompt you to authenticate with your MathWorks Account and you should be able to continue with the installation as normal.
This process has changed for MATLAB R2016b and above. Please see the following article for this information:
How do I download a MathWorks Feature or Hardware Support Package for installation on a single computer or multiple computers that cannot connect to the internet for MATLAB R2016b and above?
  9 Comments

Sign in to comment.

More Answers (6)

Mart
Mart on 11 Jun 2015
Edited: Mart on 11 Jun 2015
I've the same problem, is there already a real solution?
edit: Just to clarify both methods above do not work. Including using the .p file and using
java.lang.System.setProperty('com.mathworks.useSystemProxies', 'false')
I'm on an network with a proxy that requires authentication and I did set the proxy settings in settings>web.
  2 Comments
NA NA
NA NA on 8 Apr 2016
It's nearly a year later and no update. I have the same issue.
I know my connection works and proxy is configured properly in matlab because I can use the urlget function without issue.

Sign in to comment.


Tan
Tan on 3 Feb 2016
Edited: Walter Roberson on 4 Feb 2016
Change Proxy settings:
  • Go to Matlab home page
  • Click on Preferences tab
  • Click on Web tab
  • Change the Proxy settings as shown in the fig below
  • Run the command supportPackageInstaller in Matalab command prompt
  • Now GUI itself guide you to install support package you want.
I think that's all what u need. Its very simple !!
  3 Comments
Shilpaj Bhalerao
Shilpaj Bhalerao on 11 Jul 2016
Mine is a personal computer and I don't have any knowledge about proxy settings, proxy username and password. Will you please tell me what should I put in proxy username and password?
Thanks.

Sign in to comment.


Bharathkumar Balaji
Bharathkumar Balaji on 23 Mar 2016
I tried the same , but when I tested the connection it shows failed. I cant still download support packages as it shows "error downloading support packages from mathworks"
  2 Comments
Scott
Scott on 5 May 2016
Hi Bharathkumar and Fox,
Please contact MathWorks support if you are having trouble downloading a support package.
Thanks,
-Scott
MathWorks Installation & Licensing Support

Sign in to comment.


Adeesh V
Adeesh V on 29 Sep 2016
Hello All,
I need to add Arduino hardware supporting package in Matlab R2014b version which is installed in my computer. I tried to install the package available in the link below but it is asking Mathworks account Log In details.
I have given the correct details but still I am getting an error message only.
I tried to reset the password and did the same but the issue is still exists.
Please help me on this.


Jordi Lopez
Jordi Lopez on 8 Nov 2018
this happened overnight. Error downloading URL. Your network connection may be down or your proxy settings improperly configured. This has been solved in Matlab 2018b. Is there any patch for this?

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!