Home Sequential import of datafiles according to rule in Matlab
Reply: 0

Sequential import of datafiles according to rule in Matlab

user3885
1#
user3885 Published in September 21, 2018, 3:02 am

I have a list of .txt datafiles to import. Suppose they are called like that

file100data.txt file101data.txt ... file109data.txt I want to import them all using readtable.

I tried using the for to specify a vector a = [0:9] through which matlab could loop the readtable command but I cannot make it work.

for a = [0:9]
   T_a_ = readtable('file10_a_data.txt')   
end

I know I cannot just put _a_ where I want the vector to loop through, so my question is how can I actually do it?

Thank you in advance!

share|improve this question

2 Answers 2

active oldest votes
up vote 1 down vote accepted
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.288618 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO