Dr. Yan:
Hi, I used DPARSF, the 1st step epi dicom to nii and remove the first 10 time points, it showed as follows, and in the FunRaw, there are 240 dcm of every sub, in the FunImg, there is only one nii of every subject.Then I did the 1st step only by epi to nii, there is only one nii in every subject. No error, but I did the 2nd step by remove the first 10 time points. it showed error. I do not know what to do. Thank you so much.
??? Undefined function or method 'file2mat' for input arguments of type 'struct'.
Error in ==> file_array.subsref>subfun at 80
t = file2mat(sobj,varargin{:});
Error in ==> file_array.subsref at 60
t = subfun(sobj,args{:});
Error in ==> nifti.subsref>rec at 219
t = subsref(t,subs(2:end));
Error in ==> nifti.subsref at 45
varargout = rec(opt,subs);
Error in ==> DPARSFA_run>(parfor body) at 560
y_Write4DNIfTI(Nii.dat(:,:,:,AutoDataProcessParameter.RemoveFirstTimePoints+1:end),Nii,DirImg(1).name);
Error in ==> parallel_function at 491
S = F(base, limit);
Error in ==> DPARSFA_run at 528
parfor i=1:AutoDataProcessParameter.SubjectNum
Error in ==> DPARSFA>pushbuttonRun_Callback at 1601
[Error]=DPARSFA_run(handles.Cfg);
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> DPARSFA at 33
gui_mainfcn(gui_State, varargin{:});
??? Error while evaluating uicontrol Callback
________________________________
This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.
If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
Please remove the subfolders
Please remove the subfolders of REST.
If you want to add rest to path, do not add with subfolders.
BEst,
Chao-Gan