What MATLAB version did handle methods start being hidden?
5 次查看(过去 30 天)
显示 更早的评论
I love this change. I can finally get rid of my handleLight class.
2 个评论
Walter Roberson
2022-6-24
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.
回答(1 个)
Ishan Gupta
2022-7-27
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Software Development Tools 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!