The helptool doc.m function is returning an error
I am trying to use the internal doc.m function for finding the help guide to native MATLAB functions. When I call it, instead of pulling up a help page, it returns a series of error messages. I have tried using the which function to make sure that I am trying to call the appropriate function, which confirmed that I do not have any conflicts with other functions that I have written personally. Does anyone know why this might be happening?
>> doc find
Error using split (line 9)
First argument must be text.
Error in matlab.internal.doc.url.DocContentPage/splitPath (line 139)
pathParts = split(pathParts,"/"|"")’;
Error in matlab.internal.doc.url.DocContentPage/buildUrl (line 111)
helpLocation = matlab.internal.doc.url.DocContentPage.splitPath(obj.Product.HelpLocation);
Error in matlab.internal.doc.url.DocPage/getNavigationUrl (line 34)
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;I am trying to use the internal doc.m function for finding the help guide to native MATLAB functions. When I call it, instead of pulling up a help page, it returns a series of error messages. I have tried using the which function to make sure that I am trying to call the appropriate function, which confirmed that I do not have any conflicts with other functions that I have written personally. Does anyone know why this might be happening?
>> doc find
Error using split (line 9)
First argument must be text.
Error in matlab.internal.doc.url.DocContentPage/splitPath (line 139)
pathParts = split(pathParts,"/"|"")’;
Error in matlab.internal.doc.url.DocContentPage/buildUrl (line 111)
helpLocation = matlab.internal.doc.url.DocContentPage.splitPath(obj.Product.HelpLocation);
Error in matlab.internal.doc.url.DocPage/getNavigationUrl (line 34)
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; I am trying to use the internal doc.m function for finding the help guide to native MATLAB functions. When I call it, instead of pulling up a help page, it returns a series of error messages. I have tried using the which function to make sure that I am trying to call the appropriate function, which confirmed that I do not have any conflicts with other functions that I have written personally. Does anyone know why this might be happening?
>> doc find
Error using split (line 9)
First argument must be text.
Error in matlab.internal.doc.url.DocContentPage/splitPath (line 139)
pathParts = split(pathParts,"/"|"")’;
Error in matlab.internal.doc.url.DocContentPage/buildUrl (line 111)
helpLocation = matlab.internal.doc.url.DocContentPage.splitPath(obj.Product.HelpLocation);
Error in matlab.internal.doc.url.DocPage/getNavigationUrl (line 34)
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; doc MATLAB Answers — New Questions