Search( filetype,folderpath​)

Recursively searh folder path

You are now following this Submission

%% SEARCH Searches a folderpath and returns a list of matching filetype
% This function works only on windows machines. This is a demostration of
% how System.IO namespace can be used in MATLAB.
% filetype: file type sought after. Argument permitted can be any file type
% on windows machine e.g. '*.xls','*.m' : Use '*.*' to return all file
% types.
% folderpath: folder path to look for matching filetypes e.g 'C:\windows' ;
% note however that u much have search permission on the folder you intend
% to search.

Cite As

anthony bobbie (2026). Search( filetype,folderpath) (https://in.mathworks.com/matlabcentral/fileexchange/49922-search-filetype-folderpath), 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