Error: "The application encountered an unexpected error and needs to close. You may want to try re-installing your product(s). More information can be found at:""

53 vues (au cours des 30 derniers jours)
Hi, I'm trying to uninstall a bunch of toolboxes to free up some space on my computer, and when I go to the uninstaller program I get the following error: The application encountered an unexpected error and needs to close. You may want to try re-installing your product(s). More information can be found at: ... And it directs me to a .log file under a set of directories which I cannot find. Any suggestions on how to fix this?
Thanks!
  2 commentaires
Walter Roberson
Walter Roberson le 11 Août 2022
You could try using Add-On Explorer to remove a toolbox. I am not confident that it will help.
HWIK
HWIK le 11 Août 2022
@Walter Roberson I am trying to uninstall it from the Add-On manager, but I am running Matlab on mac, so when I select a specific toolbox and click remove, it closes matlab itself and opens a different "uninstaller" app to uninstall the toolbox

Connectez-vous pour commenter.

Réponses (1)

Khalid
Khalid le 9 Nov 2022
Hi,
I understand that when you are trying to uninstall toolboxes, you are facing errors.
Generally, this error occurs if there is something wrong with your MATLAB path or if the files for the toolbox are either corrupt or do not exist anymore.
Here are a few suggested workarounds for this issue:
1) Restore your path to the default using the commands below, and then try to uninstall the toolbox through the Add-Ons Manager:
>> restoredefaultpath
>> rehash toolboxcache
>> savepath
2) Manually delete the corresponding MATLAB directory and its content, and then try to uninstall the toolbox through the Add-Ons Manager.
3) Reinstall the toolbox to get new files by running the MATLAB installer, and overwrite the files by selecting the toolbox again. Then, proceed to uninstall the toolbox.
4) Reinstall MATLAB and the desired toolboxes.
Hope this resolves the error.
Regards,
Khalid.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by