Hello SPM experts,
I am using Matlab 2013a with SPM8. I slice timing corrected, realigned and smoothed (4 4 4) my fMRI data in order to put it through art_motionregress. However, I get the following error. I am not sure what to do.
I was originally using 4D files, then I switched to 3D .nii files, and it is still giving me the error. Has anyone ever gotten the same error before? What is the solution? Thanks in advance!
'Sincerely,
- Ananth
*************ERROR********************
Generated mask image is written to file ArtifactMask.img.
Adaptive Mask Threshold
256
Detect scans to remove from motion calculation using art_global
Generated mask image is written to file ArtifactMask.img.
Adaptive Mask Threshold
256
Mapping files...: ...done
Calculating globals...: ...done\n
87873 voxels were in the auto generated mask.
Excluding 12 volumes from motion adjustment estimation.
Reading image files to solve regression on all voxels.
Storing variances and cross-correlations
Clipping regressors that are too large
Writing mgamma images with motion regressors for each voxel.
Write images after motion adjustment
Direct calls to spm_defauts are deprecated.
Please use spm('Defaults',modality) or spm_get_defaults instead.
Attempted to access A(1); index out of bounds because numel(A)=0.
Error in art_motionadjust (line 29)
A1 = spm_read_vols(A(1));
Error in art_motionregress (line 414)
art_motionadjust(P, mgams, R);
Error while evaluating uicontrol Callback
|