Matlab 2023b, Ubuntu 22.04, Add-ons not working + unable to install.mltbx file (same error for both)

12 Ansichten (letzte 30 Tage)
Dear All,
I get the same error for both pushing the add-ons button or manually installing an .mltbx file.
Any help would be appreciated. Other than this, matlab works just fine.
Error:
Error using strjoin
Unsupported input: string
Error in matlab.net.QueryParameter/string (line 386)
res = strjoin([res{:}], '&');
Error in matlab.net.URI/string (line 673)
query = '?' + string(obj.Query);
Error in matlab.net.URI/get.EncodedURI (line 575)
str = string(obj);
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 62)
url = char(getExplorerUrl(navigationData));
Error in matlab.internal.addons.launchers.showExplorer (line 140)
matlab.internal.addons.Explorer.getInstance.show(navigationData);
Regards,
Gergő

Antworten (1)

Chaitanya
Chaitanya am 6 Mai 2024
Hello Gergely,
It is my understanding that you are getting errors when you are trying to open Add-Ons.
To resolve this please follow the below steps:
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
For Simulink users, including an additional command may be helpful:
>> restoredefaultpath
>> rehash toolboxcache
>> sl_refresh_customizations
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:
ThemeCopy
>> savepath
NOTE: This will remove any custom paths you may have created. The following MATLAB Answers post is an additional resource on how to back them up:
I hope that the above information is helpful as an initial troubleshooting steps.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by