getfiles

Versión 1.0.0.0 (2,13 KB) por Brian
Function returns all files in a directory (and optionally sub-directories) that match an expression.
364 descargas
Actualizado 3 jun 2013

Ver licencia

This function returns all files in a directory (and optionally sub-directories) that match an expression (either regular or glob).

Inputs are:
-The expression to match
-Recursive? (should sub-directories be searched?)
-Type (either 'glob' or 'regexp')
-Directory (specify the directory to search)
-Exclude expression (if a file matches the original expression, but also contains the exclude expression, it will be rejected)

Outputs a cell array of file names.

Citar como

Brian (2024). getfiles (https://www.mathworks.com/matlabcentral/fileexchange/42076-getfiles), MATLAB Central File Exchange. Recuperado .

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

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0