What MATLAB version did handle methods start being hidden?

2 views (last 30 days)
I love this change. I can finally get rid of my handleLight class.
ILoveMATLAB on 24 Jun 2022
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

Sign in to comment.

Answers (1)

Ishan Gupta
Ishan Gupta on 27 Jul 2022
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.





Community Treasure Hunt

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

Start Hunting!