help in R2022a

6 views (last 30 days)
Rogier Mars
Rogier Mars on 24 Sep 2022
Commented: Walter Roberson on 27 Sep 2022
When typing 'help functionname' in R2022a I no longer get all the commented text at the beginning of a function, as I was used to in my older version of Matlab. How can I restore this function? Now I just get 'functionname is a function' and an example 'output = functionname(input)'
  2 Comments
Walter Roberson
Walter Roberson on 24 Sep 2022
What shows up for
which help
Rogier Mars
Rogier Mars on 24 Sep 2022
/Applications/MATLAB_R2022a.app/toolbox/matlab/helptools/help.m

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 24 Sep 2022
It should work but I never use it. I use doc instead:
>> doc functionname
doc opens up the help window, unlike help, which has the advantage that there is a lot more information, including a "see also" section at the bottom where you can learn about related functions.
  3 Comments
Rogier Mars
Rogier Mars on 27 Sep 2022
Oh, and interestingly, 'doc' shows the same behavior.
Walter Roberson
Walter Roberson on 27 Sep 2022
experiment with
restoredefaultpath; rehash toolboxcache
to see if that temporarily fixes the problem

Sign in to comment.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!