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,
Anna
|