I cannot run the MATLABwindow application (on Windows 11)

Whenever I try to open the add-ons window, the following error occurs
Error using matlab.internal.cef.webwindow (line 403)
MATLABWindow application failed to launch. Unable to launch the MATLABWindow application. The exit code was: -1073741819
Error in matlab.internal.webwindow/createImplementation (line 313)
implObj = matlab.internal.cef.webwindow(varargin{:});
Error in matlab.internal.webwindow (line 161)
obj.impl = obj.createImplementation(varargin{:});
Error in matlab.internal.addons.AddOnsWindow/launch (line 54)
obj.webwindow = matlab.internal.webwindow(char(url), obj.debugPort, obj.normalWindowPosition);
Error in matlab.internal.addons.Manager/loadUrlForNavigationData (line 125)
obj.addOnsWindowInstance.launch(url, obj.windowStateUtil.getManagerWindowMaximizedSetting);
Error in matlab.internal.addons.Manager/show (line 57)
obj.loadUrlForNavigationData(navigationData);
Error in matlab.internal.addons.launchers.showManager (line 86)
matlab.internal.addons.Manager.getInstance.show(navigationData);
Error in matlab.internal.addons.launchers.showInstallerInManager (line 23)
matlab.internal.addons.launchers.showManager(entryPointIdentifier, 'openUrl', installerUrl);
I can open it fine on r2020b, which I have been using for the past 2 years. This only occurs when I try launching the add-ons window on versions r2021b and r2022b, which I installed recently. Maybe there is something wrong with the installation?

Answers (4)

Hi,
Based on the error message you provided, I suspect that the issue may be related to the firewall or security settings of your machine. Therefore, please try the following steps to ensure MATLAB has all the necessary access:
Step 1: Please check if the MATLAB R2022b application is allowed through the firewall.
Step 2: Run MATLAB R2022b as administrator.
Step 3: Try opening the Add-On Explorer by clicking on "Add-Ons">"Get Add-Ons".

4 Comments

Thanks for the suggestion. I tried the 3 steps separately and concurrently, but I still cannot access add-ons. For step 1, I simply disabled the firewall besides making sure MATLAB is allowed through.
Sometimes the add-ons window comes up but it does not load anything (it's empty), and then I close it and next time I try to open it the same error as per my original question shows up. Some other times, it freezes up MATLAB and I have to force shutdown.
@Number seven In MATLAB, go to "Preferences -> MATLAB -> Web" and see if "Use a proxy server to connect to the internet" is checked. If it is, un-check this option and see if the issue is still reproduced?
I checked, but the proxy option is unchecked. However, for some reason I can open the add-ons again! The only different thing I can think of is that I installed a toolbox (the image processing and acquisition toolboxes) by going through the installer again. Maybe somehow that solved it... Well it seems to be solved for now! THanks for the help.
@Number seven I am glad to know that it is solved! In case the issue comes up again, do post it here.

Sign in to comment.

BadEgg
BadEgg on 16 Nov 2022
Edited: BadEgg on 17 Nov 2022
Hello,
I seem to have the same problem as @Number seven. The error message showed only once, otherwise Matlab 2022b crashes when I try opening the Add On Explorer and I have to force shutdown. I tried all the steps listed here by @Anuneet + regenerating my MATLAB preferences none of it works. I also installed a new toolbox via the installer but that didn't work either
Any other ideas on how to solve that problem?
Thanks in advance

2 Comments

Hi @BadEgg, can you please confirm if there is a virus scanner that might be preventing the MATLABWindow.exe executable from running?
Also, to check if it is an issue with only Add On Explorer, you may try running the following commands
ww = matlab.internal.webwindow('www.mathworks.com'); ww.bringToFront;
Okay I did not change anything since my last message (or at least I think so) but it works fine now while it didn't before. I don't know why but it works!
Thanks anyway ! :)

Sign in to comment.

I'm having the same problem as Number7 and BadEgg. I tried running: ww = matlab.internal.webwindow('www.mathworks.com'); ww.bringToFront; in the command window, but then I got the following error: Error using matlab.internal.cef.webwindow -1073741819

Categories

Products

Release

R2021b

Asked:

on 4 Oct 2022

Answered:

on 14 Mar 2024

Community Treasure Hunt

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

Start Hunting!