Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2014
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. % specify folder with the load function to manipulate .dbl files
  2. folder = 'some folder';
  3.  
  4. % specify folder that has the data
  5. folder2 = 'some other folder';
  6.  
  7. cd(folder);
  8. addpath(folder2);
  9.  
  10. % specify parameters implemented in data collection program
  11. start_delay = 0; % in ps
  12. step_size = 20; % in ps
  13. n_steps = 30;
  14.  
  15. % loop through folders
  16. files = dir(folder2);
  17. for i = 1:size(files,1)
  18. if i == '*.txt
  19. % find string 'ON'
  20. % find a number in .txt file
  21. % for .txt files with string 'ON', look for .txt files for delay =0, then 20, then 40, etc.
  22. % find associated .dbl file
  23. % manipulate .dbl file
  24. end
  25. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement