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:""

49 visualizaciones (últimos 30 días)
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 comentarios
Walter Roberson
Walter Roberson el 11 de Ag. de 2022
You could try using Add-On Explorer to remove a toolbox. I am not confident that it will help.
HWIK
HWIK el 11 de Ag. de 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

Iniciar sesión para comentar.

Respuestas (1)

Khalid
Khalid el 9 de Nov. de 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.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by