Dir Read
This function will take two input arguments, location of the folder which you want to read and the extension of files. Then this function will provide you output which are DirLoc, nameFolds, No_of_files, Name_of_files. Here DirLoc will give you full address of the sub-directories in a array, nameFolds will give you the name of sub-directories, No_of_files will give you the number of files in each directory, Name_of_files will give you the name of files in the input location only if there is no sub-directories.
Cite As
om choudhary (2024). Dir Read (https://www.mathworks.com/matlabcentral/fileexchange/40020-dir-read), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |