Automatically load latest .mat file

2 views (last 30 days)
soepblik
soepblik on 12 Apr 2018
Answered: Walter Roberson on 12 Apr 2018
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
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.)
soepblik
soepblik on 12 Apr 2018
Sorry I maybe explained it not well. But indeed the file is only moved to the folder after it is fully completed

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 12 Apr 2018

Categories

Find more on Entering Commands 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!