Why does the MATLAB installer hang or freeze during the download portion of the installation?

263 views (last 30 days)
I am installing MATLAB R2014a or newer. After logging into the installer using my MathWorks account, I have selected my products to be installed, and clicked 'Install' to begin the download and installation. During the download portion of the process, the installer stopped downloading. I cannot resume it and proceed with the installation.
What can I do to resolve this problem and allow the installer to complete the download and the installation process?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 Mar 2021
Edited: MathWorks Support Team on 16 Mar 2021
There are a few reasons why the download may have been disrupted:
1. Antivirus, firewall, or security software may have disrupted the download.
If the download gets stuck at 0%, or if you experience a connection error message, you should start by temporarily disabling any firewalls on your local system. Many antivirus or internet security software packages include a firewall. You should also try disabling any firewalls that are built into your operating system, such as Windows Firewall.
The most common cause of the download failing once it has started is due to an antivirus or security program interfering with the installer. It is recommended that you temporarily pause the protection from any antivirus or security software on the system before performing the installation process. Once you have disabled your antivirus, close the installer and try launching it again. If you are prompted about overwriting existing files, select 'Yes' to overwrite them. It is preferred to have the installer overwrite any left-over files from the failed download so there are not any corrupted or half-completed files remaining on the system.
If you are using Windows, and you continue to experience problems with the installer even after disabling your antivirus, you should try restarting your system into 'Windows Safe Mode with Networking'. This will start Windows without starting any other programs on the system automatically. This will prevent any programs that may have been interfering with the installer from running in the background.
2. You may have lost your connection to the internet.
It is possible that your system lost it's internet connection during the download. Usually, the installer can resume after the connection is lost and then resumed, but if it was lost for an extended period of time, or if the network disruption caused some of the downloaded files to be corrupted, you may need to restart the installer. If you are using a laptop, it is recommended that you use a wired ethernet connection (if available) if you have experienced problems with the download.
If you are using a VPN or are connecting via a proxy server, you should try connecting directly to the internet instead of using these options.
3. Your system may have gone into 'Sleep' mode during the download process.
Check the power settings on your system. If you walked away from your system during the installation, and your computer went into 'sleep' mode, this will disrupt the process and you will not be able to continue with the installation without completely stopping it and then starting the installer again. The installer is designed to prevent the system from going into 'sleep' mode, but some systems may still go into 'sleep' mode if you are not interacting with the system for a long period of time while the installer is running.
4. You receive an Unexpected or Unknown error installing a toolbox into an existing installation.
If the pathdef.m was manually modified or edited this error may occur during the download portion of the installation regardless of using the downloaded installation files or installer. Run the following commands in MATLAB then try the installation again:
Ayala Irawan
Ayala Irawan on 20 Apr 2021
Hello, I also encounter this problem during installation, and it really is caused by the reasons mentioned above. However, how can this problem be fixed?

Sign in to comment.

More Answers (2)

Saurabh ghosh
Saurabh ghosh on 5 Jan 2019
After 12% installation got stopped .what to do??
  1 Comment
Jeffrey Wang
Jeffrey Wang on 9 Jan 2019
Try to go to your MATLAB directory on files and right click to properties. The size of the file should be expanding around 1MB/s. If that's the case, it could be something wrong with the progress bar itself. I also unchecked many of the toolkits since I probably won't need them anyways, and they could be manually added later on.

Sign in to comment.

Roshan Sharma
Roshan Sharma on 15 Dec 2019
My MATLAB 2014a is not working properly. When i open large file in simulink then there i have to something edit and try to save then softwear is hang and automatically closed. Please tell me What is the solution of this?


No tags entered yet.

Community Treasure Hunt

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

Start Hunting!