Sorry about the delay. I've only just realised that I missed this email. There is no way of running spm_mireg for several subjects and get a printout without doing a little bit of coding. The simplest way to do this would be to include spm_print; just before the final "return;" statement in the function. An alternative would be to modify spm_mireg_ui.m arounf line 134, from: x = spm_mireg(mireg(i).VG, mireg(i).VF); M = inv(spm_matrix(x)); to: x = spm_mireg(mireg(i).VG, mireg(i).VF); spm_print; M = inv(spm_matrix(x)); Best regards, -John On Thursday 05 July 2001 15:40, Nicoleta Pauna wrote: > Hello, > I would like to launch the SPM function spm_mireg.m iteratively, and to > keep the results of this function for every case. > I would like to ask you which is the way to generate the *.ps file for > every case? When I perform spm_mireg.m for 2 images (i=1) I get the > window with the voxel-to-voxel affine transformation matrix along with > the histograms before and after registration. In order to get the *.ps > file I use the "print" button from that window. > > > Thank you, > Nicoleta --