SPM2 related error message when doing volumesegment

Robert Oostenveld r.oostenveld at FCDONDERS.RU.NL
Mon May 7 14:12:56 CEST 2007


On 17 Apr 2007, at 18:14, Y Chen wrote:

> mri = read_fcdc_mri('Subject01.mri');
> cfg                 = [];
> cfg.template        = 'D:\mat\toolbox\spm2\templates\T1.mnc';
> ...
>
> ??? Error using ==> spm_vol>subfunc1
> Can't get volume information
> for '/home/common/matlab/spm2/templates/T1.mnc'

that is weird, since cfg.template is used as the filename to read.
Please have a look at the code on volumesegment at line 235 where the
error occurs. You can use the matlab debugger there (or type "dbsop
if error" and repeat the error).

Robert

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/fcdonders/fieldtrip.



More information about the fieldtrip mailing list