"help" does not work

118 views (last 30 days)
Ravi
Ravi on 4 Nov 2025 at 19:29
Commented: Matt J on 14 Nov 2025 at 18:00
I noticed this in R2025B. "help <myfunction>" just displays two blank lines, not the comments on top of <myfunction.m>. This m-file is in a directory at the beginning of my path.

Answers (1)

Matt J
Matt J on 4 Nov 2025 at 19:46
Possibly help.m is calling a function which you have shadowed. You will probably have to use dbstep to track this, or the equivalent Matlab Editor button:
  27 Comments
Ravi
Ravi on 14 Nov 2025 at 17:06
Moved: Matt J on 14 Nov 2025 at 17:59
In my defense, my "strip" is from the 1990s, while MATLAB's "strip" is from 2016. So, that is why it worked before. :-)
Matt J
Matt J on 14 Nov 2025 at 18:00
Finally figured it out. You all were essentially right. There was another function that was being called by mistake.
If so, please Accept-click the answer to indicate to others that this was correct.

Sign in to comment.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products


Release

R2025b

Community Treasure Hunt

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

Start Hunting!