More than 23 hour format
6 ビュー (過去 30 日間)
古いコメントを表示
Andreas Grøvan Aspaas
2018 年 12 月 3 日
コメント済み: Walter Roberson
2018 年 12 月 3 日
Hi. How can I import a datetime with more than 23 hour format, like from 00:00:00 to 39:27:08 in my case. With HH:mm:ss it does not work when I pass 23:59:59 and I have not found another solution online yet. I got one row with 56531 cells. Thanks in advance!
0 件のコメント
採用された回答
Walter Roberson
2018 年 12 月 3 日
use a duration object .
2 件のコメント
Walter Roberson
2018 年 12 月 3 日
With new enough MATLAB readtable will detect time like fields that have no dates and will import them as duration objects .
Older MATLAB will import as cell array of character vectors in that case. For some of the most recent you release duration can parse those itself .
For older still you will need to parse the text into numeric columns and duration those .
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Type Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!