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

2 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Dates and Time 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by