How to display customised tip in Debug editor mode?

I have some matlab classes that have many properties. When I am in Editor debug mode and I pass the mouse over, Matlab shows the name of the properties.
_
I want to display some customised information instead.
Anyone know how to do this?

 采纳的回答

I blogged about this last week. Basically, you just need to define custom fieldnames() and properties() methods to define which properties to display, and/or define a custom disp() method to define a custom display format.

更多回答(1 个)

类别

帮助中心File Exchange 中查找有关 Function Creation 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by