Search( filetype,folderpath)
%% 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://uk.mathworks.com/matlabcentral/fileexchange/49922-search-filetype-folderpath), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Using C# functions and forms in Matlab, C/C++ and Matlab types convertor
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
