How can Matlab automatically read any image saved in a certain folder at my laptop?
1 view (last 30 days)
Show older comments
Mennat Allah Elsenousy
on 21 Jun 2014
Commented: Mennat Allah Elsenousy
on 21 Jun 2014
If I save an image in a folder (for example E:/Photos), and I want the matlab whenever I put a new image it reads it to make some proccessing onto it.
And could I let it pick the latest saved image at this folder?
0 Comments
Accepted Answer
Image Analyst
on 21 Jun 2014
You'd need to set up a timer to call dir() every few seconds. Then examine/sort the file times/dates to identify the latest one. Then process that one.
More Answers (0)
See Also
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!