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

32 ビュー (過去 30 日間)
HWIK
HWIK 2022 年 8 月 11 日
回答済み: Khalid 2022 年 11 月 9 日
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 件のコメント
Walter Roberson
Walter Roberson 2022 年 8 月 11 日
You could try using Add-On Explorer to remove a toolbox. I am not confident that it will help.
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 Center および File ExchangeIntroduction 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