Hi Roman, SPM5? if its SPM8 my comments probably don't apply, as I haven't updated yet. I wrote some code to remap SPM.mat a while ago. I'll see if I can find it, but the fields that contain the path are: SPM.swd SPM.xY.P SPM.xY.VY(index).fname SPM.xY.VY(index).private.dat.fname Do these have the correct path? If this is the problem then it should be a pretty easy script to write, but let me know if you need a hand. Cheers, Michael On Tue, Mar 31, 2009 at 1:00 AM, Roman Rodionov <[log in to unmask]>wrote: > Dear SPMers, > > Here is the situation: > > The path to all files (including the analysed images) was changed but the > SPM.mat was not upadted accordingly. Reviewing the results was of course > not > possible. > Using two different scripts (wfu_moveSPM and spm_change_paths) posted in > the > List to update the paths didn't change the situation. The error message is > "Bad image handle dimensions". > Changing paths in SPM.xCon didn't help either. > > What could be the reason? > Recreating is not an option - there are too many SPM.mat. > > Thanks > > Roman > -- Research Associate Gazzaley Lab Department of Neurology University of California, San Francisco