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 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