title: Scan .txt files from all folder
body: <p>I have a few folders, named: a0, a1, a2, etc.
  In each folder I have a few text files (names do not vary between folders) from which I want to import data into a variable in Matlab. </p>
  
  <p>An example of a text file would be: </p>
  
  <p>txtfile #1: a 1 2 3 4.</p>
  
  <p>txtfile #2: b 5 6 7 8.</p>
  
  <p>So I want to be able to extract the data delimited by 'space', and concatenate it into a variable.
  for example:
  data3 = 2,6</p>
  
  <p>I am fairly clueless about this. 
  I tried converting to xls files but I just have way too many txt files to convert. 
  I also tried writing a Shell script that writes those variables into a new txt file but didn't do it well enough, I guess.</p>
  
  <p>Any ideas or directions would be awesome.</p>