load point from pre/fname.mat
0001 function p=loadp(pre,fname,name) 0002 % load point from pre/fname.mat 0003 ffname=[pre '/' fname '.mat']; 0004 s=load(ffname,'p'); p=s.p; fprintf('lam=%g\n',p.lam); 0005 setfn(p,name);