Guest User

Untitled

a guest
May 21st, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.40 KB | None | 0 0
  1. %Read in list of stations
  2. %Match list of stations to files and read in data
  3.  
  4. cd RAWSread;
  5.  
  6. RAWSlist=importdata('RAWSnames.txt','');
  7.  
  8. RAWSnames=char(RAWSlist);
  9.  
  10. disp(RAWSnames);
  11.  
  12. RAWSbeg=(RAWSnames);
  13. RAWSend=('_read.txt');
  14.  
  15. for i=length(RAWSnames);
  16.    
  17.     RAWS=importdata((strcat(RAWSbeg,RAWSend)),'');
  18.    %RAWS=importdata('I3MI_read.txt,''); THIS ONE WORKS
  19.  
  20.  
  21.     disp(RAWS);
  22.    
  23. end %i
Add Comment
Please, Sign In to add comment