MATLAB: How to select multiple files with similar extension select 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? Best Answer try looking at the following function dirpath =pwd;extension = '.07'rtnFiles=dir(fullfile(path,['*' extension])) Related SolutionsMATLAB: How to select all .wav files from a directory files = dir('*.wav'); audio = cell(1,125); for k = 1:125 audio{k} = audioread(files(k).name); end MATLAB: Save a file with own extension in menu GUI Something like this?[filename pathname] = uiputfile('*.sin','Save file as');save(fullfile(pathname,filename),'varname','-ascii')% or exchange last line with one of the following:% save(fullfile(pathname,filename),'varname','-ascii','-tabs')% save(fullfile(pathname,filename),'varname','-ascii','-double')% save(fullfile(pathname,filename),'varname','-ascii','-double','-tabs') Related QuestionFiles with specific extensionUIGETFILE start in another directory AND choose two default file typesFile extension .USER
Best Answer