This is a generic error message displayed when installing MathWorks products.
If you are receiving this error while installing additional toolboxes from the Add-Ons Explorer:
To resolve the error, please install the toolbox with the MathWorks Installer. The MathWorks Installer may bypass the issue causing the error message or provide more troubleshooting information on the error if the installation happens to fail again.
For more information on installing an additional toolbox to an already existing MATLAB installation, please refer to the following article:
How do I install additional toolboxes into an existing installation of MATLAB?
NOTE: You are not required to reinstall MATLAB when using the MathWorks Installer.
If you are receiving this error while installing a Support Package:
When installing a support package, the error message is typically caused by a connection error, a permissions related issue, or a corrupted install.
First, please attempt to resolve the error by starting MATLAB with elevated privileges to resolve any permissions issues.
Second, you may try an offline installation of the support package; an offline installation may bypass any connection errors. For information on performing an offline installation, please refer to the following article:
How do I Download and Install a Support Package on an Offline Machine?
Third, you may perform a clean installation of the support packages. To do this, follow these steps:
How do I perform a clean re-installation of a Support Package?
If you are receiving this error when installing any support package in MATLAB R2016b, apply the following patch to your MATLAB installation (the patch is written for the MinGW support package, but is applicable to all support packages):
If you are still experiencing this error after trying the above or you are receiving the error while installing MATLAB R2020a:
You may obtain further troubleshooting information from the Installation log file. For more information on locating your installation log file, please reference this article:
Where are the MATLAB installation log files located?