"help" does not work

99 vues (au cours des 30 derniers jours)
Ravi
Ravi le 4 Nov 2025 à 19:29
Commenté : Ravi le 7 Nov 2025 à 13:12
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.

Réponses (1)

Matt J
Matt J le 4 Nov 2025 à 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 commentaires
Torsten
Torsten le 6 Nov 2025 à 1:32
Modifié(e) : Torsten le 6 Nov 2025 à 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 il y a 19 minutes
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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Produits


Version

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by