SUBDIR *new*

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

Sin licencia

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.

Citar como

Elmar Tarajan (2026). SUBDIR *new* (https://es.mathworks.com/matlabcentral/fileexchange/1492-subdir-new), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R13
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre File Operations en Help Center y MATLAB Answers.
Agradecimientos

Inspiración para: RPCODE, folders sub-folders

Versión Publicado Notas de la versión
1.0.0.0

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