Failed to open Add-On manager and install Add-Ons

조회 수: 170 (최근 30일)
Daniel Schwensow
Daniel Schwensow 2021년 11월 19일
댓글: Julianne 2023년 5월 31일
I'm currently running Matlab R2021b on a Win10 machine but experiencing the same issues with Matlab R2020b on the same machine. I tried to open the Addon Manager to install another basemap but I get the following errors:
Dot indexing is not supported for variables of this type.
Error in matlab.internal.addons.AddOnsWindow/bringToFront (line 74)
obj.webwindow.bringToFront();
Error in matlab.internal.addons.Manager/show (line 59)
obj.addOnsWindowInstance.bringToFront();
Error in matlab.internal.addons.launchers.showManager (line 80)
matlab.internal.addons.Manager.getInstance.show(navigationData);
Error using str2double (line 215)
STR2DOUBLE: invalid input argument
Error in matlab.net.URI/set.Port (line 393)
port = str2double(value);
Error in matlab.net.URI/parse (line 1191)
obj.Port = authority.Port;
Error in matlab.net.URI (line 874)
obj = obj.parse(dest, literal);
Error in matlab.internal.addons.AddOnWindowUrl/generate (line 24)
url = matlab.net.URI(this.baseUrl);
Error in getExplorerUrl/getConnectorUrlForMatlab (line 49)
url = urlGenerator.generate.EncodedURI;
Error in getExplorerUrl/getConnectorUrls (line 43)
connectorUrls.matlab = getConnectorUrlForMatlab();
Error in getExplorerUrl (line 20)
connectorUrls = jsonencode(getConnectorUrls());
Error in matlab.internal.addons.Explorer/show (line 63)
url = char(getExplorerUrl(navigationData));
Error in matlab.internal.addons.launchers.showExplorer (line 140)
matlab.internal.addons.Explorer.getInstance.show(navigationData);
Another way i tried was downloading the the basemap as an ".mlpkginstall"-File from Mathworks file exchange but that's producing errors as well:
Dot indexing is not supported for variables of this type.
Error in matlab.internal.addons.AddOnsWindow/bringToFront (line 74)
obj.webwindow.bringToFront();
Error in matlab.internal.addons.Manager/show (line 59)
obj.addOnsWindowInstance.bringToFront();
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);
Are there any settings I might have missed doing? I'm grateful for any help.

채택된 답변

Daniel Schwensow
Daniel Schwensow 2021년 11월 30일
I finally made a clean installation of R2021b and find it working as it should. I started adding my "Set Path" Directories and again it wasn't working anymore. Figured out that this toolboxes caused the above described issues https://de.mathworks.com/matlabcentral/fileexchange/46271-electromyographic-signal-analysis-tool-emgat2014

추가 답변 (1개)

Anshika Chourasia
Anshika Chourasia 2021년 11월 30일
Hi Daniel,
To resolve this issue, regenerate your MATLAB Preferences.
Please follow the mentioned link for more information: How do I regenerate my MATLAB preferences
  댓글 수: 2
Daniel Schwensow
Daniel Schwensow 2021년 11월 30일
Hey Anshika,
thanks for the reply. I followed the Instructions to regenaret my Matlab preferences. Which worked well.
Still, I'm not able to open the Add-Ons-Manager. Getting the following errors:
Dot indexing is not supported for variables of this type.
Error in matlab.internal.addons.AddOnsWindow/bringToFront (line 74)
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;
Julianne
Julianne 2023년 5월 31일
Getting the same error when trying to launch the add-on explorer window. Inserting code below:
Error using strsplit
Too many input arguments.
Error in matlab.net.URI/set.Path (line 432)
obj.Path = strsplit(string(value), '/', 'CollapseDelimiters', false);
Error in matlab.net.URI/parse (line 1202)
obj.Path = parts.Path;
Error in matlab.net.URI (line 874)
obj = obj.parse(dest, literal);
Error in matlab.internal.addons.AddOnWindowUrl/generate (line 26)
url = matlab.net.URI(this.baseUrl, this.queryParams);
Error in getExplorerUrl/getConnectorUrlForMatlab (line 50)
url = urlGenerator.addQueryParameter("useRegFwk", useRegFwk()).generate.EncodedURI;
Error in getExplorerUrl/getConnectorUrls (line 44)
connectorUrls.matlab = getConnectorUrlForMatlab();
Error in getExplorerUrl (line 20)
connectorUrls = jsonencode(getConnectorUrls());
Error in matlab.internal.addons.Explorer/show (line 63)
url = char(getExplorerUrl(navigationData));
Error in matlab.internal.addons.launchers.showExplorer (line 140)
matlab.internal.addons.Explorer.getInstance.show(navigationData);
Any advice?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by