SUBDIR *new*

バージョン 1.0.0.0 (616 Bytes) 作成者: Elmar Tarajan
Recursively search for files and/or directorys under given folder without using of global variables.
ダウンロード: 7.3K
更新 2004/12/7

ライセンスがありません

SUBDIR
returns all subfolder under current path.
P = SUBDIR('directory_name')
stores all subfolders under given directory into a variable 'P'

[P F] = SUBDIR('directory_name')
stores all subfolders under given directory into a
variable 'P' and all filenames into a variable 'F'.
use sort([F{:}]) to get sorted list of all filenames.

引用

Elmar Tarajan (2024). SUBDIR *new* (https://www.mathworks.com/matlabcentral/fileexchange/1492-subdir-new), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R13
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersFile Operations についてさらに検索
謝辞

ヒントを与えたファイル: RPCODE, folders sub-folders

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

the output of results in the new version is more user friendly.