MATLAB Answers

Load in all files of a folder?

22 views (last 30 days)
JamJan
JamJan on 22 Sep 2019
Answered: Rik on 22 Sep 2019
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?

Accepted Answer

Rik
Rik on 22 Sep 2019
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.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by