Hi, Refering to post by Neil R. Chatterjee 20 November 2008 in spm_print.m line 21 %=================================================%t = clock;%nam = ['spm_' num2str(t(1)) mon{t(2)} sprintf('%.2d',t(3))];%================================================= replaced by %=================================================t = fix(clock);nam = ['spm_' num2str(t(1)) mon{t(2)} sprintf('%.2d',t(3)) '_' ... sprintf('%.2d',t(4)) sprintf('%.2d',t(5)) sprintf('%.2d',t(6))];%================================================= Regards Brahim From: [log in to unmask] To: [log in to unmask] Subject: RE: [SPM] Postscript file Date: Wed, 31 Mar 2010 11:58:31 +0000 Dear Brahim, thank you for your reply. That sounds like a good suggestion, but how can I do that? In the jobfile(batch) I could not find an option on how to change the name of the file. Best regards From: [log in to unmask] To: [log in to unmask] Subject: RE: [SPM] Postscript file Date: Wed, 31 Mar 2010 19:01:22 +0800 Alternative is to add in these file names the time and some random number to solve this overwriting issue. Brahim > Date: Wed, 31 Mar 2010 11:55:47 +0100 > From: [log in to unmask] > Subject: [SPM] Postscript file > To: [log in to unmask] > > Hello all, > > thanks for the response on my last question. > > When you perform preprocessing with spm, spm makes a postscript file with figures and > parameters of motion, etc. The filename of this .ps-file is SPM_ followed by the date that > the file was created. When you perform multiple preprocessing jobs (participants) on one > day this file is overwritten by a new one and you lose the previous one. > How can you keep all of the postscript files and prevent them from being overwritten? > (for example, renaming the files after finishing one subject) > > Thanks in advance! > > Best regards, Nynke Hotmail: Trusted email with powerful SPAM protection. Sign up now. Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. Sign up now. _________________________________________________________________ Hotmail: Powerful Free email with security by Microsoft. https://signup.live.com/signup.aspx?id=60969