Reading the New Added Files in Folder
3 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
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 Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!