after converted DICOM into nifti, then comes another error:
------------
Undefined function 'read_hdr' for input arguments of type
'char'.
Error in nifti (line 27)
vol = read_hdr(fname);
Error in DPARSFA_run>(parfor body) (line 605)
Nii = nifti(DirImg(1).name);
Error in parallel_function (line 491)
S = F(base, limit);
Error in DPARSFA_run (line 581)
parfor i=1:AutoDataProcessParameter.SubjectNum
Error in DPARSFA>pushbuttonRun_Callback (line 1601)
[Error]=DPARSFA_run(handles.Cfg);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in DPARSFA (line 33)
gui_mainfcn(gui_State, varargin{:});
Error while evaluating uicontrol Callback
Forums
I think you didn't set up
I think you didn't set up SPM8 correctly.
Please install and update your SPM8, and then "Add with subfolders" for "Add path".
Best,
Chao-Gan
I turned back to the basic spm8 package without, problem solved
Thank you, Chaogan,
I turned back to the basic spm8 package without updates, problem solved. But i am not sure whether there will be other errors.
Thank you.
Best
GH Dong