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
NAMES = DIR2CELL converts the directory listing into a cell array in alphabetical order.
NAMES = DIR2CELL(ARG) converts the directory listing based on argument ARG, into a cell array in alphabetical order. ARG may contain wildcards.
[NAMES, DATENUMS, DATES, BYTES, ISDIRS] = DIR2CELL(ARG), also returns the modification date as a MATLAB serial date number in double array DATENUMS, the modification date in cell array DATES, the number of bytes in double array BYTES, and a Boolean variable designating if is a directory or not in logical array ISDIRS.
Example:
files = dir2cell('*.m')
Citation pour cette source
Kevin Crosby (2026). Directory to Cell (https://fr.mathworks.com/matlabcentral/fileexchange/28442-directory-to-cell), MATLAB Central File Exchange. Extrait(e) le .
Informations générales
- Version 1.1.0.0 (1,68 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 | Implemented Jan Simon's suggestions to eliminate CELL2MAT. |
||
| 1.0.0.0 |
