Those are the only fields you need to worry about, but when you update
the SPM.xY.VY structure you should substitute each updated filename
into SPM.xY.VY(i).fname. You should not try to re-read in the volume
structures using spm_vol as that can change the scaling. Remember to
back up your original SPM.mat file before changing anything.
-----
Darren Gitelman
On Mon, May 25, 2009 at 11:56 AM, Andi Heckel <[log in to unmask]> wrote:
> Dear SPMList,
>
> I am using SPM5 under WinXP. I ran both preprocessing and analysis (first
> and second level) in C:\MyProject\
> Now, I need to migrate the whole directory tree to an external harddisk
> (drive D):
> C:\MyProject --> D:\Myproject
>
> Problem: The image filepaths seem to be hardcoded into the SPM .mat files
> and thus are still pointing to C:\Myproject\...
> instead of D:\Myproject\... -->some functions in the SPM-Result section
> are not working properly.
> I found out the following responsible fields in SPM.mat
> SPM.swd
> SPM.xY.VY
> SPM.xY.P
>
> Are there any other fields in the SPM.mat file I need to consider when
> migrating to a different drive? Do I need to modify
> other files (apart from SPM.mat) as well? Are there other pitfalls to
> expect when migrating ?
>
> thank you very much!!!
> andi
>
> ________________________________
> Hier klicken und auf AOL das Beste & Top-Aktuelle aus Nachrichten, Sport,
> Szene-Klatsch und Lifestyle erfahren - dazu das sichere AOL Mail für eine
> reibungslose Kommunikation!
|