Day Function not Working
1 次查看(过去 30 天)
显示 更早的评论
Hello!
I have a cell array (question_display_time) filled with dates in the following format string = 'yyyy-mm-dd HH:MM:SS.FFF'.
When I try to run the day function Matlab returns the following: Undefined function 'day' for input arguments of type 'cell'.
When I try to run it on a sample string I get the following Undefined function 'day' for input arguments of type 'char'.
Am I doing something wrong? I thought this would be a simple function to grab the date with!
What I have tried: dayDate = cellfun(@day, question_display_time) day(string,'yyyy-mm-dd HH:MM:SS.FFF') day('2013-05-05 12:33:33.1234')
Any ideas? :)
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dates and Time 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!