Some Files Utilities
Version 1.0.0 (4.28 KB) by
Alain Barraud
This small package contains easy to use and very fast functions to search files or folders to update matlab path or get all the pc drives.
FindFiles searchs recursively (or not) any file from a drive or a given folder using a given pattern. It is only limited by the syntax supported by the current recursive buit-in function dir.
FindFolders searchs recursively (or not) any "non sytem" folders from a given root path. It is similar to FindFiles and calls the current recursive buit-in function dir.
AddNewPath is similar to matlab addpath except it is much faser and return the folders added to the previous matlab path.
FolderFilter filters out the non user folders and is used internally by our finders or can be directly called by user to operate a filter operation.
GetDrivesLetter returns the pc available drives very fastly
Cite As
Alain Barraud (2024). Some Files Utilities (https://www.mathworks.com/matlabcentral/fileexchange/92538-some-files-utilities), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021a
Compatible with R2016b to R2021a
Platform Compatibility
Windows macOS LinuxTags
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.
Utilities
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |