Read All Files From Folder Matlab

[Solved] Read All Files From Folder Matlab | Matlab - Code Explorer | yomemimo.com
Question : read all files from folder matlab

Answered by : rasel-ahmed-9kilyai1mdfd

% Please save all files name in symmetrically before doing the operation % names for example f1,f2,f3... %Save the folder of files in the current directory path_directory='folder_name_here'; % Pls note the format of files,change it as required original_files=dir([path_directory '/*.file_extention_format']); for k=1:length(original_files) filename=[path_directory '/' original_files(k).name]; file-load statement here % Load file % Next do your operation and finding
end

Source : | Last Update : Mon, 27 Jun 22

Answers related to read all files from folder matlab

Code Explorer Popular Question For Matlab