That did it. Thanks Darren. Your program is now working using your
updated instructions/code from your blog (i.e., it works in Matlab 7.14
SP3 SPM5)
Kind Regards,
Theresa Pape
-----Original Message-----
From: d gitelman [mailto:[log in to unmask]]
Sent: Friday, May 25, 2007 9:52 PM
To: Pape, Theresa; [log in to unmask]
Subject: RE: [SPM] Matlab code for mean image toolbox
theresa
ok. i see the problem. the problem is that it needs to be accessed by
the
batch menus. Go to TASKS->Tools->Mean Image. I changed the instructions
on
the blog so that you now put it into a folder called mean_img and that
way
it doesn't come up under the Toolbox menu and cause confusion.
darren
6) go to the TASKS menu which is how
> -----Original Message-----
> From: SPM (Statistical Parametric Mapping)
> [mailto:[log in to unmask]] On Behalf Of Pape, Theresa
> Sent: Friday, May 25, 2007 7:29 PM
> To: [log in to unmask]
> Subject: [SPM] Matlab code for mean image toolbox
>
> Dear All
>
> I am using SPM5 via Matlab 7.14 SP 3 on Windows XP
>
>
>
> I am trying to use a mean image toolbox written by Darren
> Gitelman (http://cbmg.tiddlyspot.com/#meanImage)
>
>
>
> His code is written for Matlab R2007a and SPM 5
>
>
>
> SPM5 recognizes the toolbox, but the pop up window to select
> the images does not come up. So I need, I think, to change
> Darren's code in the lines below: Does anyone have any
> suggestions on how the code might need to be changed. I am
> attaching the m file ---if you have time to review it I would
> appreciate any help.
>
>
>
> inputimgs = files('Images to average','inpimg','image',[1 Inf]);
>
> inputimgs.help = {'Select images to average.'};
>
>
>
> outputimgs = entry('Name of mean image','outpimg','s',[1 1]);
>
> outputimgs.val = {'meanimage.img'};
>
> outputimgs.help = {'Enter a filename for the mean image.'};
>
>
>
>
>
> Thank you.
>
>
>
> Theresa Louise-Bender Pape, Dr.PH, MA, CCC-SLP/L
>
> Advanced Research Career Development Scientist
>
> Department of Veterans Affairs
>
> Rehabilitation Research & Development Service
>
> Edward Hines Jr. VAH
>
> Voice Mail: (708) 202-4953
>
> Confidentiel Fax: (708) 202-7487
>
> Email: [log in to unmask]
>
> Pager : (312) 707-3345
>
>
>
> Research Assistant Professor
>
> Northwestern University Feinberg School of Medicine,
> Department of Physical Medicine and Rehabilitation
>
>
>
> Clinical Research Scientist
>
> Marianjoy Rehabilitation Hospital
>
>
>
> Senior Associate
>
> Northwestern University Feinberg School of Medicine,
> Institute for Health Services Research and Policy Studies
>
>
>
>
|