Find all paths in the specified directory and its subdirectories.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). dirAll (https://github.com/erikhuizinga/dirAll), GitHub. Retrieved .
General Information
- Version 1.0.0.0 (1.82 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
