Automatically load latest .mat file
2 views (last 30 days)
Show older comments
Hello,
My software is creating for every new measurement a new .mat file. I am wondering if there is a possibility to load the latest added mat file from a folder automatically?
4 Comments
Walter Roberson
on 12 Apr 2018
To confirm, the files are created by something else, and they are not moved into the folder until after they are complete?
This is not the same as something doing a save() into the directory, in which case there is a period between when the file starts to exist and the writing to the file finishes. (This can be a fair while for -v7.3 files.)
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!