"help" does not work

조회 수: 19 (최근 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