SUBDIR *new*

Recursively search for files and/or directorys under given folder without using of global variables.
7,3K download
Aggiornato 7 dic 2004

Nessuna licenza

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.

Cita come

Elmar Tarajan (2025). SUBDIR *new* (https://www.mathworks.com/matlabcentral/fileexchange/1492-subdir-new), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R13
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su File Operations in Help Center e MATLAB Answers
Riconoscimenti

Ispirato: RPCODE, folders sub-folders

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0

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