This issue could be caused by few different things:
- Antivirus software
- VPNs or Proxy servers
- Firewalls
- Poor Network Connectivity
Antivirus Software
To temporarily disable your Antivirus on Windows:
- Locate the Antivirus protection program icon on the Windows system tray.
- Right-click the icon and select Disable, Stop, etc. to temporarily disable the program. In some cases, you may need to open the program and disable it using the program's menus.
To temporarily disable your Antivirus on a Mac:
- Locate the Antivirus icon found on your Mac menu bar.
- Click Shut down or disable temporarily until installation and activation have completed.
To temporarily disable your Antivirus on a Linux:
- Locate the Antivirus protection program icon on the Linux system tray.
- Click Shut down or disable temporarily until installation and activation have completed.
VPNs or Proxy servers
Some Virtual Private Networks (VPN) or Proxy servers will interfere with the installer working correctly. If you have one, try disabling it and then running the installer again. Disabling it will vary depending on what VPN or Proxy server you are using. Refer to your VPN/Proxy Server's documentation if you are unsure how to do this.
Firewalls
You will need to contact your IT Help Desk if your organization is running a network firewall to configure it to bypass blocked connections to the MathWorks servers.
The MathWorks installer needs to contact MathWorks servers on the following ports and addresses:
- mathworks.com
- licensing.mathworks.com
- login.mathworks.com
- services.mathworks.com
- TCP ports 80 and 443
Your firewall needs to bypass blocked connections for both addresses over both ports. These servers do not use a Static IP Address and will resolve to a Dynamic IP Address. This means that users will not be able to white-list MathWorks servers via IP Address and will have to use the domain name.
Poor Network Connectivity
This issue can occur when attempting to install MATLAB with a poor network connection. When the installer is attempting to download files, a failure to download a file successfully will show as a retry # attempt. The installer will make several attempts to redownload each failed file, but if still unsuccessful, will display an error.
To resolve this, check that your computer has a reliable internet connection or switch to a more reliable network. If the Installer is still unable to successfully connect, perform an offline installation.
How to install MATLAB on an offline machine?