import images with timestamps label
2 ビュー (過去 30 日間)
古いコメントを表示
Hi
I have images that have timestamp label, I want only to import only the timestamp and store in one colmun array without loading all images to spacework.
The images labeling has the follwing Shape: yyyy-mm-dd:HH:MM:ss.jpg
for instance 2021-07-05-14:17:05.jpg
Many thanks in advance
3 件のコメント
Peter Perkins
2021 年 7 月 27 日
DateString = datestr(N,fmt);
DateString = datenum(DateString);
DateString = transpose(DateString);
HistoryJune24th = datetime(DateString,'ConvertFrom','datenum')
seems very round-about. Can't say this strngly enough: Don't use datestr and datenum. If this is still part of your code, I suggest
HistoryJune24th = datetime(N,"Format",'yyyy-MM-dd-HH:mm:ss')
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Time Series Events についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!