1 function link_namelist(cyc)
2 %deletes current namelist link and makes new one
4 cyc = input_num('Which namelist to link?',1);
6 ln_str = sprintf('rm namelist.input; ln -s namelist.input_%d namelist.input',cyc);
7 fprintf('Linking namelist.input_%d\n',cyc);
9 printf('Linking failed somehow\n')