MATLAB Answers

Why is help() malfunctioning

1 view (last 30 days)
Catalytic on 11 Nov 2019
Edited: Catalytic on 3 Dec 2019
Matlab seems to know that the help command is there, at least as far as which() is concerned
>> which -all help
C:\Program Files\MATLAB\R2019a\toolbox\matlab\helptools\help.m
And yet, I get this,
>> help help
help not found.
Use the Help browser search field to search the documentation, or
type "help help" for help command options, such as help for methods.
Any idea why this is happening?


Show 2 older comments
per isakson
per isakson on 11 Nov 2019
On my R2018b
>> help help
help Display help text in Command Window.
help NAME displays the help for the functionality specified by NAME,
such as a function, operator symbol, method, class, or toolbox.
NAME can include a partial path.
.... in total 43 lines
and type help displays the function in Command Window.
That doesn't help you and I have no idea.
Matt J
Matt J on 11 Nov 2019
So help was discontinued after R2018b. Interesting...
Catalytic on 3 Dec 2019
Upgraded to R2019b and the problem has disappeared. I'm glad they decided to bring help back in 2019b. I sorely missed it.

Sign in to comment.

Answers (1)

Steven Lord
Steven Lord on 11 Nov 2019
The output you posted for help doc doesn't match the help text I see when I run that command. Did you post exactly what you see or did you paraphrase?
In release R2019a, what is the last line of your help.m file? In my installation it is a blank line, line 67. The copyright line (line 41) states 1984-2019. Can you confirm that you see the same?
In my installation, doc.m has 209 lines with line 209 being a blank line. The last function in doc.m is displayFile. The copyright line (line 45) reads 1984-2013. Can you confirm that you see the same?
I'm wondering if you accidentally copied versions of help.m file (and maybe doc.m) from an older release of MATLAB.

  1 Comment

Catalytic on 11 Nov 2019
Thank you, Steven. Nothing I posted was paraphrased and regarding everything you have described about help.m and doc.m, I see the same.

Sign in to comment.

Sign in to answer this question.