フィルターのクリア

What MATLAB version did handle methods start being hidden?

1 回表示 (過去 30 日間)
ILoveMATLAB
ILoveMATLAB 2022 年 6 月 23 日
回答済み: Ishan Gupta 2022 年 7 月 27 日
I love this change. I can finally get rid of my handleLight class.
  2 件のコメント
Walter Roberson
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.
ILoveMATLAB
ILoveMATLAB 2022 年 6 月 24 日
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 日
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.

カテゴリ

Help Center および File ExchangeGraphics Object Programming についてさらに検索

タグ

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by