Hello,
I would like to load multiple mat files in a particular folder. Right now i have 8 matfiles so i have written the code as below.
for k=1:8 S = load(sprintf('M%d.mat',k));
I donot to limit the number of files in code. Is there a way to find the matfiles in a folder and load all the mat files present in the folder.
Best Answer