dirPlus

dirPlus will recursively collect a list of files/folders from a folder tree.

Download
Download

You are now following this Submission

Cite As

Kenneth Eaton (2026). dirPlus (https://in.mathworks.com/matlabcentral/fileexchange/60716-dirplus), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: EnergyPlus Co-simulation Toolbox

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0

Changed name from getAllFiles to dirPlus, added 'ReturnDirs' option to collect subdirectory lists, added 'DirFilter' and 'ValidateDirFcn' options to select valid directories, and added 'RecurseInvalid' option to modify recursive behavior.

Download
1.4.0

GitHub integration with FEX was not ideal, so I uploaded a normal zip file.

Download
1.3.0

Updated help and demo.

Download
1.2.0

Added 'Depth' option.

Download
1.1.0

Modified the data that's passed to the validation function. It should now accept as input a structure of the form returned by the DIR function instead of just a file name.

Download
1.0.0

Bad description formatting.

Download