dirAll

版本 1.0.0.0 (1.8 KB) 作者: Erik
Find all paths in the specified directory and its subdirectories.
44.0 次下载
更新时间 2018/1/18

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

引用格式

Erik (2024). dirAll (https://github.com/erikhuizinga/dirAll), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 File Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库