Filter löschen
Filter löschen

Reading the New Added Files in Folder

1 Ansicht (letzte 30 Tage)
Kosai
Kosai am 13 Mär. 2012
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.

Akzeptierte Antwort

Bjorn Gustavsson
Bjorn Gustavsson am 13 Mär. 2012
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...

Weitere Antworten (0)

Kategorien

Mehr zu File Operations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by