Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
This function is an update of an old one (submitted in 2013) I decided to delete. This version is cleaner, shorter and more efficient than the previous one.
It recursively searches for specified file names and extensions (with or without respect to letter case) in a given directory and its sub-directories.
Example: findFileInFolder(pwd, {'.m', '.zip', '.mat'}) match all files with the corresponding extensions ('.m', '.zip', '.mat') in the current directory
More information in the m-file
Citation pour cette source
Benjamin Pillot (2026). findFileInFolder(parentFolderPath, fileExtension, varargin) (https://fr.mathworks.com/matlabcentral/fileexchange/59357-findfileinfolder-parentfolderpath-fileextension-varargin), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
A inspiré : Normal and recursive extraction from multi-format archive
Informations générales
- Version 1.1.0.0 (4,65 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.1.0.0 | Make use of the regexptranslate built-in function |
||
| 1.0.0.0 | description
|
