Is there a version of dir that takes a path?
1 次查看(过去 30 天)
显示 更早的评论
I want to use `dir` to get some list of files. But to do this I need to cd into a directory which seems really dum. Is there not a version of dir that just takes a path? i.e. something like:
dir('~/cool/path/files_*')
this way I specify the path and only the files with that format without having to cd into places.
2 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!