Dear John, I have created such a scripts for and send it to the spm-list long time ago, here the URL were you can find the original posting, at the bottom of the page you can find a link for the zip file. original posting with explanation: http://www.jiscmail.ac.uk/cgi-bin/wa.exe?A2=ind04&L=SPM&P=R323755&I=-3 this is a direct link for the zip file : http://www.jiscmail.ac.uk/cgi-bin/wa.exe?A3=ind04&L=SPM&P=16985277&E=2&B=--MailMan_Boundary&N=csl_bch.zip&T=application%2Fzip -- Dr Ferath Kherif Wellcome Trust Centre for Neuroimaging University College London 12 Queen Square London WC1N 3BG United Kingdom Tel. +44 (0)20 7833 7472 Fax +44 (0)20 7813 1420 [log in to unmask] On Jan 18, 2008 5:15 PM, <John> <Gelburg> <[log in to unmask]> wrote: > Hi, > > I would like to use spm_results_ui functionality in a batch mode, while I > specify SPM.mat, p-value and all rest of the parameters in matlab code. Is > it achievable. I am using SPM2. > > Thanks, > John >