Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % specify folder with the load function to manipulate .dbl files
- folder = 'some folder';
- % specify folder that has the data
- folder2 = 'some other folder';
- cd(folder);
- addpath(folder2);
- % specify parameters implemented in data collection program
- start_delay = 0; % in ps
- step_size = 20; % in ps
- n_steps = 30;
- % loop through folders
- files = dir(folder2);
- for i = 1:size(files,1)
- if i == '*.txt
- % find string 'ON'
- % find a number in .txt file
- % for .txt files with string 'ON', look for .txt files for delay =0, then 20, then 40, etc.
- % find associated .dbl file
- % manipulate .dbl file
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement