Can't open Documentation on dual screen laptop
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Chun Siong Soon
am 14 Aug. 2023
Kommentiert: Chun Siong Soon
am 15 Aug. 2023
Just installed Matlab 2023 on a dual-screen laptop. Can't launch documentation. Similar issues for all the options under RESOURCES tab.
>> doc
Error using strsplit
First input must be either a character vector or a string
scalar.
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.doc.services.DocSettings/get.Domain (line 39)
helpUrl = matlab.net.URI(matlab.internal.UrlManager().HELP);
Error in matlab.internal.doc.getDocCenterDomain (line 10)
domain = char(docSettings.Domain);
Error in matlab.internal.doc.services.WebDocHandler/getDocRootDomain (line 43)
domain = matlab.net.URI(matlab.internal.doc.getDocCenterDomain);
Error in matlab.internal.doc.services.DocLocationHandler/getDocRootUrl (line 20)
url = obj.getDocRootDomain(options);
Error in matlab.internal.doc.services.DocLocation/getDocRootUrl (line 53)
url = obj.Handler.getDocRootUrl(options);
Error in matlab.internal.doc.url.DocContentPage/getDocRootUrl (line 98)
url = obj.DocLocation.getDocRootUrl("InternalBrowser", internal, "Release", release);
Error in matlab.internal.doc.url.DocContentPage/buildUrl (line 109)
url = getDocRootUrl(obj);
Error in matlab.internal.doc.url.DocPage/getNavigationUrl (line 33)
url = obj.buildUrl;
Error in matlab.internal.doc.ui.DocPageLauncher/openDocPage (line 30)
success = openBrowser(obj.Handler, getNavigationUrl(activePage));
Error in doc (line 79)
launcher.openDocPage;
0 Kommentare
Akzeptierte Antwort
Steven Lord
am 14 Aug. 2023
Let's make sure you don't have a function named split that's taking precedence over the split function included in MATLAB. What does this command show?
which -all split
If it shows something that's not under the matlabroot directory try renaming that file or removing the directory containing it from the MATLAB path.
2 Kommentare
Steven Lord
am 14 Aug. 2023
Can you set an error breakpoint and show us the output of whos when MATLAB stops at that breakpoint?
While we're at it, I don't think it's quite as frequently overloaded as split but could you show the output of which on string as well?
whos
which -all string
Weitere Antworten (2)
Siehe auch
Kategorien
Mehr zu Call Web Services from MATLAB Using HTTP finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!