"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.
Les Beckham
Les Beckham 2022 年 5 月 18 日
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!
Les Beckham
Les Beckham 2022 年 5 月 19 日
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 ExchangeStartup 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