folderFiles.m

Reads filename contents of a folder.

Vous suivez désormais cette soumission

[outFiles]=folderFiles(inFolder,fileNames)
Reads a group of (fileNames) from a folder specified by (inFolder), and generates the output in the form of a char array.
fileNames is the criteria that specifies the files, e.g., *.jpg. If fileNames is left as a blank (default) this function reads all contents, but this is not preferred since some folders containing images will also have system files such as (Thumbs.db) or (folder.ini) beside subfolders.

Citation pour cette source

Ahmed A. Selman (2026). folderFiles.m (https://fr.mathworks.com/matlabcentral/fileexchange/40877-folderfiles-m), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.3.0.0

1)Unnecessary bits of code are removed.
2)Two new error-check lines are added to detect input arguments' type.
3)File description is slightly modified.

1.0.0.0