"doc cmp": Help browser stuck at "Processing"

My organization just upgraded me to Matlab 2022a. "doc table" works, but "doc cmp" causes the help browser to be stuck at the message "Processing". It does not become unstuck if I type "table" into the search field. I can still issue "doc table" at the command window, which opens a 2nd help browser tab with the "table" help page. I can switch to the "Processing" tab and close it. So the "Processing" tab doesn't impede any other use of "doc". But I was hoping to be able to use the help browser instead of the internet to look for Matlab commands (such as "cmp") so that I don't end up using a reserved word for a variable. Is there a particular reason why "doc cmp" brings up a zombie help browser tab?

댓글 수: 4

FM
FM 2022년 5월 18일
편집: FM 2022년 5월 18일
It turns out that the doc window gets stuck as above whenever I issue "doc command" for a non-existent command. From discussion with technical support, this might be solvable by reinstalling Matlab. Something I will do when a have a moment.
FWIW
For your mentioned use case to "look for Matlab commands (such as "cmp") so that I don't end up using a reserved word for a variable", I would recommend using (for example) which cmp instead of doc cmp to determine if cmp is a reserved word (e.g., function) in Matlab. The which command is almost instant, while doc, even when it doesn't get stuck, will likely take a few seconds.
Good luck.
FM
FM 2022년 5월 19일
That's pretty convenient. Thanks, Les Beckham!
You're welcome. I'm happy to be of assistance.

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

 채택된 답변

FM
FM 2022년 5월 24일
편집: FM 2022년 5월 24일

0 개 추천

The MathWorks suggested a fix that worked for me. The solution was to delete temporary files: Type in %Temp% in the Windows explorer and it should take you to
C:\Users\<your username>\AppData\Local\Temp
Take a backup of this directory and then delete all the files here. After that restart MATLAB and see if the issue persists.
If the above had not worked, the next step would have been to re-install Matlab, which was thankfully unnecessary.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

릴리스

R2022a

태그

질문:

FM
2022년 5월 18일

편집:

FM
2022년 5월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by