SUBDIR *new*

Version 1.0.0.0 (616 octets) par Elmar Tarajan
Recursively search for files and/or directorys under given folder without using of global variables.
7,3K téléchargements
Mise à jour 7 déc. 2004

Aucune licence

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.

Citation pour cette source

Elmar Tarajan (2024). SUBDIR *new* (https://www.mathworks.com/matlabcentral/fileexchange/1492-subdir-new), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R13
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur File Operations dans Help Center et MATLAB Answers
Remerciements

A inspiré : RPCODE, folders sub-folders

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0

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