convert to cell array
Show older comments
Hi, I have a variable time = 19:33:02.58 and want to get the hours (19), minute(33), and seconds(02.58) as each cells in a cell array. How do I do that?
Answers (1)
datevec('19:33:02.58')
Categories
Find more on Dates and Time in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!