Reading the New Added Files in Folder

3 ビュー (過去 30 日間)
Kosai
Kosai 2012 年 3 月 13 日
I have a Folder which contains many JPG-Files and continuously new JPG-Files are added in the same Folder. How can I read the new added Files without Reading the old ones again? Thanks.

採用された回答

Bjorn Gustavsson
Bjorn Gustavsson 2012 年 3 月 13 日
If you use matlab's dir command to list files you could keep the creation date-time of the most recent file you've read - and then at next read opportunity only read files that are created after that time. Should be pretty straightforward from there...
  1 件のコメント
Kosai
Kosai 2012 年 3 月 13 日
thank you!! i did it .

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by