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?

 Akzeptierte Antwort

Yair Altman
Yair Altman am 12 Aug. 2014

2 Stimmen

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.

Weitere Antworten (1)

per isakson
per isakson am 2 Aug. 2014
Bearbeitet: per isakson am 2 Aug. 2014

1 Stimme

Not a documented feature but search Undocumented Matlab

3 Kommentare

But the examples above show tooltip in GUI,
I want to change the Editor tooltip. Is this possible?
By documented feature I meant a documented way to customize the info.
Anything else?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Function Creation finden Sie in Hilfe-Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by