dirAll

Version 1.0.0.0 (1.82 KB) by Erik
Find all paths in the specified directory and its subdirectories.
43 Downloads
Updated 18 Jan 2018

dirAll - Find all paths in the specified directory and its subdirectories.
Syntax

paths = dirAll(path) - Returns a cell of paths to all files and folders in the specified path.

paths = dirAll(path, includeDirectories) - Specifies whether or not (true` or false, resp.) to include directories or only files in the output. Default is true.

Output

paths is a cell of character arrays containing absolute paths to the found files and folders. It does not contain the specified path or its parent, only subfiles and folders.

License

MIT

Cite As

Erik (2024). dirAll (https://github.com/erikhuizinga/dirAll), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2016a
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!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.