Format Display of Class Properties. Showing the date instead of the datenum.

2 ビュー (過去 30 日間)
Ryan
Ryan 2014 年 12 月 4 日
I have a class I've created and one of the properties stores the time. It uses the matlab datenum type which is I suppose is actually just a number. What I'd like to do it when the contents of the object are displayed, I'd like it to format the specific time property as a datestr and not a number. I would like the value of the property to remain numeric just not displayed as a numeric.
Thanks in advance! Ryan

回答 (0 件)

カテゴリ

Help Center および File ExchangeDates and Time についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by