"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 个评论

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.
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
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