Hi,
On Tue, Feb 7, 2012 at 4:55 PM, Anna Zamm <[log in to unmask]> wrote:
> Hi All,
> I would like to write a batch script that loops through a directory with 90 .img files and builds a marsbar ROI (roi.mat) for each file. I tried using maroi_image(filename) to do this, but Matlab gave me an error message ('Undefined function or method 'spm_get' for input arguments of type 'char'). Any suggestions on how to successfully batch this process would be much appreciated.
> Thanks in advance,
I think you want the marsbar mailing list for this one.
You may have omitted the line:
marsbar('on')
from your script. This sets the paths correctly to run the rest of
the marsbar functions,
Best,
Matthew
|