How can I open multiple .atf (text files) into different matrices?
Show older comments
Right now I am using the following to open .atf files: a=readtable('Test1.atf','FileType', 'Text', 'Delimiter', '\t', 'HeaderLines', 2) This will read the file and create a matrix while removing the first 2 header rows.
Unfortunately, this will only open one file at a time based on the name I have written in the line. Is there a way to open multiple files at once and store them into different tables?
So the first .atf file in the directory will go into one matrix, the next into another, and so on.
Thanks for the help!
Answers (1)
KSSV
on 30 Nov 2016
0 votes
2 Comments
Kevin Lancon
on 30 Nov 2016
KSSV
on 1 Dec 2016
You are writing the whole data into the same file I think. Check it. If not attach the code here will check.
Categories
Find more on Workspace Variables and MAT Files 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!