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?

 Respuesta aceptada

Yair Altman
Yair Altman el 12 de Ag. de 2014

2 votos

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.

Más respuestas (1)

per isakson
per isakson el 2 de Ag. de 2014
Editada: per isakson el 2 de Ag. de 2014
Not a documented feature but search Undocumented Matlab

3 comentarios

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?

Iniciar sesión para comentar.

Categorías

Más información sobre Function Creation en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 2 de Ag. de 2014

Comentada:

el 12 de Ag. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by