Search( filetype,folderpath​)

Recursively searh folder path
119 Downloads
Updated 4 Mar 2015

View License

%% 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 (2024). Search( filetype,folderpath) (https://www.mathworks.com/matlabcentral/fileexchange/49922-search-filetype-folderpath), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Search Path in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0