"No help found" for built-in functions or user defined functions in R2014a

2 views (last 30 days)
The help command isn't working for me in R2014a, for my own functions or for built-in Matlab functions. For example:
>> which time_mean
/home/jwalker/dynamics/calc/utilities/time_mean.m
>> help time_mean
No help found for time_mean.m.
However, when I type the exact same thing into an older version of Matlab on another computer (R2013b), it works perfectly and I get all the help info that is commented in the beginning of the function. The help command isn't working for built-in Matlab functions either, for example:
>> which sum
built-in (/opt/matlab/toolbox/matlab/datafun/@uint8/sum) % uint8 method
>> help sum
No help found for sum.m.
Any ideas what is causing this and how to fix it? It is very inconvenient to have to open each function in the editor in order to see the list of input arguments and other info that would normally be provided by the help command. Any assistance would be greatly appreciated! Thanks!

Accepted Answer

Sean de Wolski
Sean de Wolski on 10 Oct 2014
You need to reset the path:
restoredefaultpath
rehash toolboxcache
This should take care of it.
  2 Comments
John D'Errico
John D'Errico on 10 Oct 2014
While I think (and hope) this may solve the problem, if MATLAB can see the code on the search path, I wonder if this may be an early symptom of a corrupt disk or a corrupt MATLAB installation.
If Sean's solution is insufficient, I would next do some checking to see if your hard drive has problems using one of the many utilities designed to do that.
If not that, then I'd try a reinstall of MATLAB, since help does work in the latest releases.
Sean de Wolski
Sean de Wolski on 13 Oct 2014
This was a common problem that affected a lot of users right after 14a shipped. It involves MATLAB trying to preserve path settings, though some of its internal ones changed (probably a bug).
I wouldn't worry about the installation.

Sign in to comment.

More Answers (1)

Jennifer
Jennifer on 13 Oct 2014
Yes, that did the trick! Everything seems to be working fine now. Thanks so much for the help!

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!