cannot use doc & help

조회 수: 15 (최근 30일)
至韬
至韬 2023년 2월 28일
답변: Leo 2023년 12월 19일
警告: MATLAB 无法解析 URL 并在浏览器中将其打开:
> 位置:web>displayWarningMessage (第 172 行)
位置: web (第 114 行)
>> help conv
警告: 执行 'matlab.internal.help.helpProcess' 类析构函数时,捕获到以下错误:
错误使用 contains
the input should be either a char-array or a cell-array with chars
出错 matlab.internal.help.makeDualCommand (第 11 行)
if contains(command,'.') || any(contains(string(varargin), invalidDualArgumentPattern))
出错 matlab.internal.help.helpProcess/displayHelp (第 18 行)
searchMessage =
getString(message('MATLAB:helpUtils:displayHelp:SearchMessageWithLinks',
erase(matlab.internal.help.makeDualCommand('docsearch', hp.topic), '"')));
出错 matlab.internal.help.helpProcess/delete (第 104 行)
disp(hp.displayHelp);
出错 help (第 31 行)
end
> 位置:help (第 31 行)
>> doc conv
错误使用 ismember
第二个参数 必须为文本。
出错 split (第 60 行)
sep = ismember(str, delimiter);
出错 matlab.internal.doc.url.DocContentPage/splitPath (第 139 行)
pathParts = split(pathParts,"/"|"\")';
出错 matlab.internal.doc.url.DocContentPage/set.RelativePath (第 52 行)
splitPath = matlab.internal.doc.url.DocContentPage.splitPath(value);
出错 matlab.internal.doc.reference.getReferencePage>getReferenceItemDocPage (第 129 行)
docPage.RelativePath = refItem.Href;
出错 matlab.internal.doc.reference.getReferencePage>findReferencePage (第 76 行)
docPage = getReferenceItemDocPage(refItems(1));
出错 matlab.internal.doc.reference.getReferencePage (第 22 行)
[docPage, refTopics, primitive] = findReferencePage(topic, isVariable);
出错 doc (第 57 行)
[docPage, displayText, primitive] = matlab.internal.doc.reference.getReferencePage(topics);
  댓글 수: 1
至韬
至韬 2023년 3월 2일
Output argument "varargout{1}" (and possibly others) not assigned a value in the execution with
"weboptions" function.
出错 matlab.internal.doc.updateConnectorDocroot (第 3 行)
options = weboptions('RequestMethod','post', ...
Output argument "varargout{1}" (and possibly others) not assigned a value in the execution with
"weboptions" function.
出错 matlab.internal.doc.search.sendSearchMessage (第 18 行)
options = weboptions('RequestMethod','post', ...
出错 matlab.internal.doc.search.configureSearchServer (第 19 行)
matlab.internal.doc.search.sendSearchMessage('addons', 'Body', '[]');

댓글을 달려면 로그인하십시오.

답변 (1개)

Leo
Leo 2023년 12월 19일
It seems to be the same problem:
>> doc view
Error using split
Too many output arguments.
Error in matlab.internal.doc.url.DocContentPage/splitPath (line 139)
pathParts = split(pathParts,"/"|"\")';
Error in matlab.internal.doc.url.DocContentPage/set.RelativePath (line 52)
splitPath = matlab.internal.doc.url.DocContentPage.splitPath(value);
Error in matlab.internal.doc.reference.getReferencePage>getReferenceItemDocPage (line 124)
docPage.RelativePath = refItem.Href;
Error in matlab.internal.doc.reference.getReferencePage>findReferencePage (line 72)
docPage = getReferenceItemDocPage(refItem);
Error in matlab.internal.doc.reference.getReferencePage (line 18)
[docPage, refTopics, primitive] = findReferencePage(topic, isVariable);
Error in doc (line 57)
[docPage, displayText, primitive] = matlab.internal.doc.reference.getReferencePage(topics);

카테고리

Help CenterFile Exchange에서 数据类型转换에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!