Martin,
The attached mfile will also work if you don't have Marsbar. It prompts
for the SPM.mat, new SPM.mat directory, and the images used in your
analysis (SPM.xY.P) in case they moved as well.
Take care,
Aaron
Aaron Baer
Department of Radiology
Wake Forest University School of Medicine
Medical Center Blvd
Winston-Salem, NC 27157
336-716-0682
[log in to unmask]
-----Original Message-----
From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]]
On Behalf Of Darren Gitelman
Sent: Thursday, February 24, 2005 8:14 PM
To: [log in to unmask]
Subject: Re: [SPM] Change SPM.mat path to images
Use Marsbar. (http://marsbar.sourceforge.net)It has a routine just for
this purpose.
darren
==============Original message text===============
On Thu, 24 Feb 2005 6:38:21 pm CST Witaya Sungkarat wrote:
Dear Martin,
I am afraid that you need to change all necessary path and file names in
SPM.mat
(e.g., SPM.swd, SPM.xY.P, SPM.xY.VY.fname, ... ), thus it might be
faster to reprocess the data.
However, you can try
load SPM.mat
SPM.swd = 'your_new_path_name'
.
.
.
save SPM.mat SPM
Cheers,
Witaya Sungkarat
Martin Zalesak wrote:
> Dear all,
>
> I copied my SPM files from one computer to another and now I want to
> extract VOI data but I can't because the path to images in SPM.mat is
no
> longer valid. Is there a quick and easy way to change the path?
>
> Martin
>
>
>
>
> Martin Zalesak, M.Sc.
> PhD Candidate in Medical Engineering
> Harvard-MIT Division of Health Sciences and Technology
> Admissions Building, Rm. # 347
> McLean Hospital
> 115 Mill St.
> Belmont, MA 02478
>
> Phone: (617) 855-2961
> Fax: (617) 855-2985
>
> --------------------------------
> Confidentiality notice:
>
> Any information, including protected health information (PHI),
> transmitted
> in this email is intended only for the person or entity to which it is
> addressed and may contain information that is privileged, confidential
> and or
> exempt from disclosure under applicable Federal or State law. Any
review,
> retransmission, dissemination or other use of or taking of any action
in
> reliance upon, protected health information (PHI) by persons or
> entities other
> than the intended recipient is prohibited. If you received this email
> in error,
> please contact the sender and delete the material from any computer.
===========End of original message text===========
--------------------------------
Darren R. Gitelman, M.D.
Cognitive Neurology and the Alzheimer's Disease Center
Northwestern Univ., 320 E. Superior St., Searle 11-470, Chicago, IL
60611
Voice: (312) 908-9023 Fax: (312) 908-8789
--------------------------------
|