Print

Print


Dear SPMers,

I got ab error when I read fMRI data by using spm image read functions:
 imfile=spm_select ; 
 v=spm_vol(imfile);
 imdata=spm_read_vols(v);

I have used the commands for long time but this is the first time when I got an error. Could anybody provide tips for these errors?
Thank you in advance,

Namhee Kim

 ==== Errors ====
??? Error using ==> spm_slice_vol
File too small.

Error in ==> spm_read_vols at 34
    Y(:,:,p,i) = spm_slice_vol(V(i),spm_matrix([0 0 p]),V(i).dim(1:2),0);

Error in ==> Image2Matrix4D at 10
img = spm_read_vols(vol);