MATLAB: Reading many files in one loop

reading files

How can I read file names and convert them to a matrix? I have more than one file and I want to read their contents in one loop of the program. Thanks

Best Answer

Download a function file called folderFiles.m.
It'll do the job for you, hopefully.