I cannot run the Add-Ons application in MATLAB R2022B

126 Ansichten (letzte 30 Tage)
Almudena Buelta Méndez
Almudena Buelta Méndez am 20 Dez. 2022
Kommentiert: 丽娟 am 1 Apr. 2024 um 12:00
I am using MATLAB R2022b in Windows 10. When I try to open the Add-Ons application, I get the following errors:
Error using matlab.internal.cef.webwindow/errorOnInValidWindow
Webwindow is not valid. It was closed by user or the process was terminated.
Error in matlab.internal.cef.webwindow/bringToFront (line 673)
obj.errorOnInValidWindow()
Error in matlab.internal.webwindow/bringToFront (line 225)
bringToFront(obj.impl)
Error in matlab.internal.addons.AddOnsWindow/bringToFront (line 72)
obj.webwindow.bringToFront();
Error in matlab.internal.addons.Explorer/bringToFront (line 73)
obj.addOnsWindowInstance.bringToFront();
Error in matlab.internal.addons.launchers.showExplorer (line 138)
matlab.internal.addons.Explorer.getInstance.bringToFront;
I have already reinstalled Matlab several times. I also have regenerated my MATLAB preferences.
None solved my problem. What can I do?
Thank you.

Akzeptierte Antwort

Stefanie Schwarz
Stefanie Schwarz am 13 Apr. 2023
It could be that security software on your PC is blocking MATLAB from opening our web-based features like Add-On Explorer. In the past couple of months we've received dozens of reports from Trend Micro users being affected by this. This is captured in the link below (the instructions should work in a similar way for other security software):

Weitere Antworten (1)

Suvansh Arora
Suvansh Arora am 23 Dez. 2022
In order to resolve this issue, please follow the MATLAB answers article mentioned below:
If the MATLAB answers article mentioned above doesn’t resolve your issue, try the following method to change the search path:
Before modifying the search path, it is important to take a backup of your 'pathdef.m' file, which can be located by using the command:
>> which -all pathdef
Before proceeding, ensure that you make a safe copy of the file by copying it to a folder outside of your MATLAB path.
After taking the backup, please execute the following commands in the MATLAB Command Window to restore the default MATLAB search path and rehash the toolbox cache:
>> restoredefaultpath
>> rehash toolboxcache
After this step, please use MATLAB/Simulink to see if the issue occurs again. If the issue is resolved, then you may want to save the new MATLAB search path by executing the following command:
>> savepath
I hope the above information helps you.
  4 Kommentare
丽娟
丽娟 am 1 Apr. 2024 um 12:00
still fail to open it.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by