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?

 採用された回答

Yair Altman
Yair Altman 2014 年 8 月 12 日

2 投票

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 件のコメント

Marco Borges
Marco Borges 2014 年 8 月 12 日
That looks great!
Thank you!!!

サインインしてコメントする。

その他の回答 (1 件)

per isakson
per isakson 2014 年 8 月 2 日
編集済み: per isakson 2014 年 8 月 2 日

1 投票

Not a documented feature but search Undocumented Matlab

3 件のコメント

Marco Borges
Marco Borges 2014 年 8 月 2 日
But the examples above show tooltip in GUI,
I want to change the Editor tooltip. Is this possible?
per isakson
per isakson 2014 年 8 月 2 日
By documented feature I meant a documented way to customize the info.
Marco Borges
Marco Borges 2014 年 8 月 4 日
Anything else?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File Exchange で Debugging and Improving Code についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by