Why don't function syntax hints show up for some package functions?

조회 수: 2 (최근 30일)
Hugh Enxing
Hugh Enxing 2017년 1월 17일
댓글: Seth Trotz 2018년 5월 15일
When I type a function name in my working directory, followed by an open paren, I get the expected hint:
When I type a function name that is in a package in my working directory, I still get the expected hint:
However, when I type a function name that is two levels deep in a package, I no longer get the function hint:
Is this a known issue? Is there anything I can do about this?
Edit: to be clear, these are all user-written functions that I am talking about.
Related: there doesn't seem to be any Mathworks documentation about writing function hints for functions with multiple input modes, is that a thing that we can do, or does that only work for internal MATLAB functions?

채택된 답변

Jordan Ross
Jordan Ross 2017년 1월 23일
Hello Hugh,
I work for MathWorks and currently it is expected behavior that the function hints do not show up when you have a function two or more levels deep in a package. I have forwarded this feedback to the appropriate product team so that they can consider this enhancement in a future release of MATLAB.
  댓글 수: 2
Hugh Enxing
Hugh Enxing 2017년 1월 23일
Great, thanks for the reply. I mean, it would be great if function hinting worked N levels deep, but it's good to know that this is expected behavior. I'll keep an eye on the release notes in the future.
Seth Trotz
Seth Trotz 2018년 5월 15일
Also waiting for this feature!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by