Why do I see the error "Something Unexpected Occurred" when installing MathWorks Products?

401 views (last 30 days)
Why do I see the error "Something Unexpected Occurred" when installing MATLAB or another MathWorks product?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 17 Nov 2022 at 5:00
Edited: MathWorks Support Team on 18 Nov 2022 at 21:58
This is a generic error message displayed when installing MathWorks products. It mainly occurs when installing either additional toolboxes or support packages from the Add-Ons Explorer.

If you are receiving this error while installing additional toolboxes from the Add-Ons Explorer

This error is typically  caused by a lack of permissions on the Add-On Explorer installer; the Add-Ons Explorer inherits the permissions of the MATLAB session. To resolve the error, try running MATLAB with elevated permissions and reattempt the installation once more.  
If the issue persists, you may 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. 
Note: You are not required to reinstall MATLAB when installing additional toolboxes with the MathWorks Installer.
For more information on installing an additional toolbox to an already existing MATLAB installation, please refer to the following article:

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 installation. 
1) Please attempt to resolve the error by starting MATLAB with elevated privileges to resolve any permissions issues.
2) 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:
3) You may perform a clean installation of the support packages. To do this, follow these steps:
If you are receiving this error when installing any support package in MATLAB R2016b, please refer to the following bug report: 

If you are receiving this error while installing products with the MathWorks Product Installer

1) If you are running the installer from an ISO or from an installation that was setup for offline usage and MATLAB is already installed on the device, make sure that the installer update and MATLAB update that is already installed matches. For example, you will receive this error if you are running the installer for R2022a Update 4, but the version of MATLAB installed is R2022a Update 3. Note this also applies to prerelease versions of MATLAB. 
2) If you are on Windows, you may need to delete the folder where the temporary files are downloaded. Go to the folder where you downloaded the installer and you should see a folder named "_temp_matlab_R20XXx_win64". The Xs represent the version you've downloaded. Delete this folder and then run the installer again.

Contact Us

If you are still experiencing this error after trying the above or you are receiving the error while installing MATLAB, please contact MathWorks support and attach your MATLAB installation log file. For more information on locating your installation log file, please refer to the following:

More Answers (1)

Julia Ferreira
Julia Ferreira on 18 May 2020
I tried to install matlab coursera license, but I got the following error:
Something Unexpected Occurred.
There was an error communicating with the backend services
Did anyone encounter the same problem ? How did you fix it ?

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!