Dir with Cell Output and Options
DIRC(DIR_NAME) uses the DIR function to return the directory listing of directory DIR_NAME, with usage of optional arguments, and with the following differences in output:
- The output is in a 'cell' format instead of a 'structure' format.
- The output includes the following columns (in the stated order): Full Item Name, Item Name, Item Extension, Date, Bytes, IsDir
Filter, Sort_By, and Group arguments can optionally be used.
Examples:
dirc('C:\')
dirc('C:\Windows','de','n')
dirc('C:\','','t','d')
See code or type 'help dirc' for usage details.
[Please subscribe to this file if you use it, so you can be notified of updates.]
Cita come
Skynet (2025). Dir with Cell Output and Options (https://it.mathworks.com/matlabcentral/fileexchange/7390-dir-with-cell-output-and-options), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 | Added 'or' SORT_BY option. |
