getDirectoryContent​s

Function used to retrieve the contents of a directory based on their extension or kind (e.g. folder)
227 Downloads
Updated 30 Sep 2013

View License

This function can be considered as an extension to the builtin function dir. It can return only files that are of a specified format, only directories in a directory and also omits the "." and ".." entries from the dir output.

Cite As

Konstantinos Drossos (2024). getDirectoryContents (https://www.mathworks.com/matlabcentral/fileexchange/43704-getdirectorycontents), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on File Operations in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

Fixed a typo at function's name

1.0.0.0