Importing multiple text files

1 view (last 30 days)
Kin
Kin on 28 Feb 2015
Commented: Kin on 1 Mar 2015
Hi all,
I am trying to import multiple text files to matlab, the files name are specified in an array.
How can I use a for loop to import these text files?
Thx

Accepted Answer

dpb
dpb on 28 Feb 2015
See the FAQ
Note reading the filenames from an array is essentially the same as processing a dir() list or the file exchange "pick of the week" linked to there is a higher-level alternative if the idea is to do the same thing to all files.

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!