Can't open Documentation on dual screen laptop
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Steven Lord
2023-8-14
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 个评论
Steven Lord
2023-8-14
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
更多回答(2 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!