last_modified
Version 1.0.0.0 (1.54 KB) by
Matthew Foster
Return the last modified file(s) in a given directory or glob.
Return a cell array containing the names of the last modified files in the given directory.
Filters out entries which are directories, to remove those annoying '.' and '..' entries in UNIX.
Equivalent to running system('ls -At | head -n') and then chopping up the result.
Cite As
Matthew Foster (2024). last_modified (https://www.mathworks.com/matlabcentral/fileexchange/14206-last_modified), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2006b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on File Operations in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | removed extra find, which lint didn't like. |