Clear Filters
Clear Filters

how to select multiple files with similar extension

2 views (last 30 days)
Hello Guys, I have a folder that has a lot of files, how can i ask MATLAB to select just the files with the extension(07) to be run in MATLAB?

Accepted Answer

Jonathan Chin
Jonathan Chin on 12 Oct 2017
try looking at the following function dir
path =pwd;
extension = '.07'
rtnFiles=dir(fullfile(path,['*' extension]))

More Answers (0)

Categories

Find more on File Operations in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!