Matlab 2023b, Ubuntu 22.04, Add-ons not working + unable to install.mltbx file (same error for both)
조회 수: 12 (최근 30일)
이전 댓글 표시
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ő
댓글 수: 0
답변 (1개)
Chaitanya
2024년 5월 6일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!