What MATLAB version did handle methods start being hidden?

I love this change. I can finally get rid of my handleLight class.

댓글 수: 2

handle methods in general? I have not heard that they are hidden.
Is it possible you are referring to App Designer objects? I think the object visibility is set to Callback by default... not the same thing as the methods.
I am referring to user defined handle classes classes. You used to have to tab through 14 irrelevant methods during tab completion
See the following link

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

답변 (1개)

Ishan Gupta
Ishan Gupta 2022년 7월 27일

0 개 추천

Hidden means hidden, from display and autocompletion. There's no workaround.
However, what you could do is customise the display of your class, so that it only displays whatever you want even if the property is not hidden. For that you'd have to derive your class from matlab.mixin.CustomDisplay and override getPropertyGroups to omit the property you want to hide.

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

제품

릴리스

R2022a

태그

질문:

2022년 6월 23일

답변:

2022년 7월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by