Dear Ferenc, Sorry about that. We have now fixed it - you can get the patch from ftp://ftp.fil.ion.ucl.ac.uk/spm/spm5_updates/ as advertised by John's email to the list. Best, Will. Ferenc Acs wrote: > When I specified a model with SPM5 and start the model estimation, I get > following error messages: > > -------------------------- > Running "fMRI model estimation" > ??? Undefined command/function 'spm_list_files'. > > Error in ==> spm_config_fmri_est>run_est at 381 > [j,unused] = spm_list_files(pwd,files{i}); > > Error in ==> spm_jobman>run_struct1 at 1379 > feval(prog,val); > > Error in ==> spm_jobman>run_struct1 at 1387 > run_struct1(c.val{i}); > > Error in ==> spm_jobman>run_struct1 at 1387 > run_struct1(c.val{i}); > > Error in ==> spm_jobman>run_struct at 1346 > run_struct1(c); > > ??? Error while evaluating uicontrol Callback. > > > -------------------------- > > I found that spm_list_files.m and the associated other files are missing > in the SPM5 directory. > > I copied the old spm_list_files.* files from my old SPM5b directory, now > the model estimation works fine. > > The files missing in the SPM5 package are: > spm_list_files.mexglx > spm_list_files.mexsol > spm_list_files_expand.m > spm_list_files.dll > spm_list_files.m > spm_list_files.mexa64 > > Is this workaround necessary? > > Thanks, > Ferenc > > ------------------------------------------------------------ > Ferenc Acs > Lehrstuhl Prof. Dr. M. W. Greenlee > Institut für Psychologie > Universität Regensburg > 93040 Regensburg > Tel. +49 (0)941 943 3582 > Fax +49 (0)941 943 3233 > http://www.psychologie.uni-regensburg.de/Greenlee/team/Acs/acs.html > > -- William D. Penny Wellcome Department of Imaging Neuroscience University College London 12 Queen Square London WC1N 3BG Tel: 020 7833 7475 FAX: 020 7813 1420 Email: [log in to unmask] URL: http://www.fil.ion.ucl.ac.uk/~wpenny/