Hello,
I just installed MATLAB R2018b, and now the help command does not work. Even typing "help" or "help help" gives me a response of "help not found".
Was the help function killed? How do I get help to work again?
Thank you.
David

 採用された回答

David Soltysik
David Soltysik 2018 年 11 月 9 日

0 投票

After clicking "Set Path" and removing some paths, the help function resumed working.

1 件のコメント

Michael Reshko
Michael Reshko 2019 年 3 月 18 日
Could you please provide furtehr details of how to fix this issue? I am alos getting "Page not found" after a new version install. Thanks

サインインしてコメントする。

その他の回答 (1 件)

Ba Mo
Ba Mo 2019 年 4 月 12 日
編集済み: Ba Mo 2019 年 4 月 12 日

2 投票

Any chance that the toolbox/suite you installed is PSAT (power systems analysis toolbox)?
The help command in matlab stops working after adding PSAT to matlab's path
that's because the help command of matlab calls a routine called "settings" in the folder: "%matlab-root%\2018a\toolbox\matlab\configtools\settings.m, and psat also has a routine called "settings.m".
When you call matlab's help, you will find the culprit in the file named: "getTopicHelpText" in the sub-function at the bottom named: "useSingleSource(hp)"
to solve this problem, you must change the name of PSAT's file to something else; and cross-check if any other psat files use this routine
alternatively, in matlab's "getTopicHelpText" routine, change the "settings" command.
if the toolbox causing the problem is NOT PSAT, then something similar has happened for other reasons. the thing is, the code to fetch the help-text from any file, is done inside a try-catch-end block in matlab's help routine (help.m)

4 件のコメント

Ejike Ogadah
Ejike Ogadah 2020 年 7 月 13 日
Thanks this was helpful.
Martin Kurras
Martin Kurras 2020 年 11 月 11 日
Thanks for yout answer Ba Mo, it helped me to figure out the issue.
In may case it was due to a class in my simulator named "settings". Note, that it worked just fine in previous Matlab versions, but with 2019b it is not longer working.
By removing the path pointing to my simulator, everythign works fine again. I think I will rename my settings class, however it is really annoying and cost me some time/effort.
Addition to the help issue, I also got conflicts when plotting/working figures, because the usage of java also depends on the "settings" command.
Nicholas Teong
Nicholas Teong 2022 年 8 月 4 日
May i know how to remove the path ? i am having the same problem. THanks
Image Analyst
Image Analyst 2022 年 8 月 4 日
Use the "Set Path" button on the Home tab of the tool ribbon or, in code, use the rmpath function.
Or try
>> restoredefaultpath

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by