MATLAB: Load in all files of a folder

fileloadopen

Hi,
I have a lot of folders containing .csv files. Is there a way to load in all possible files without given a specific command to the file?

Best Answer

Use dir to generate a file list (you can use to search a folder tree), then use a loop to process all files one by one.