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

37 次查看(过去 30 天)
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 个评论
HWIK
HWIK 2022-8-11
@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

请先登录,再进行评论。

回答(1 个)

Khalid
Khalid 2022-11-9
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.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by