"help" does not work

9 次查看(过去 30 天)
Ravi
Ravi 2025-11-4
评论: Matt J 2025-11-14
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.

采纳的回答

Matt J
Matt J 2025-11-4
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 个评论
Ravi
Ravi 2025-11-14
移动:Matt J 2025-11-14
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 2025-11-14
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

产品


版本

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by