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...

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by