Automatically load latest .mat file

2 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2018-4-12
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 2018-4-12
Sorry I maybe explained it not well. But indeed the file is only moved to the folder after it is fully completed

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2018-4-12

类别

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