Dir Read

This function will read all the sub directories in the location provided.

You are now following this Submission

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 (2026). Dir Read (https://www.mathworks.com/matlabcentral/fileexchange/40020-dir-read), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0