"help" does not work

99 Ansichten (letzte 30 Tage)
Ravi
Ravi am 4 Nov. 2025 um 19:29
Kommentiert: Ravi vor etwa 16 Stunden
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.

Antworten (1)

Matt J
Matt J am 4 Nov. 2025 um 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:
  24 Kommentare
Torsten
Torsten am 6 Nov. 2025 um 1:32
Bearbeitet: Torsten am 6 Nov. 2025 um 2:29
If they are successful finding the cause of the problem, please report their solution here to help other MATLAB users with the same problem.
Ravi
Ravi vor etwa 11 Stunden
They haven't been able to find anything yet. The one thing they asked me to do was to run
>>ver -support
I got this: "Java Version: Java is not enabled" as one of the responses. I wonder if that is a problem? Also, as a test, I installed MATLAB on a completely different computer. A DELL instead of an HP. I got the same issue, i.e., "help" not working for myfunction.
Let's see if Mathworks can get to the bottom of this...
By the way, "doc myfunction" does not show anything. At least when I click on "View code for myfunction.m" I see the function text, which means it is pointing to the right function.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Produkte


Version

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by