Updated 25 Mar 2021
FileManager is a Matlab class that helps in dealing with multiple files that are stored in a nested path where each level in the file directories has some meaning.
FileManager is object oriented. You create a FileManager object and use the methods.
f=FileManager('.'); % Matlab FileManager for the current directory f.fileList() % Get all the files in this filemanager
Check my blog post to learn more about the benefit of using FileManager and improve file accessing in your scripts.
FileManager is part of a bigger repository (EpicToolbox), but this is a mirror repository for cases where the use of FileManager is required without other tools in EpicToolbox, e.g. when the data is not stored as tables with Header column. I recommend installing and using EpicToolbox to still use FileManager and have access to more useful functions. If you know you don't need it you can clone and use FileManager from this mirror.
Copy the @FileManager folder to a place that is under your Matlab path, or add the parent location of @FileManager to the path.
Jonathan Camargo (2023). FileManager (https://github.com/JonathanCamargo/FileManager/releases/tag/v0.1), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
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.