Hello all,
I receive the following error message when detrending in DPARSF.
Does anyone know what it means and how to solve this?
Thanks, jan
Removing the linear trend: C:
Read 3D EPI functional images: "C:\Users\Documents\MATLAB\\FunImgNormalizedSmoothed\P5201PLA"..............................
Detrend working. Wait.............
Saving detrended images. Wait...Error using class
Cannot change the number of fields of class 'file_array' without first typing 'clear
classes'.
Error in file_array (line 39)
a = class(a,'file_array');
Error in rest_Write4DNIfTI (line 47)
dat = file_array;
Error in rest_detrend (line 117)
rest_Write4DNIfTI(AllVolume,Header_Out,sprintf('%s%sdetrend_4DVolume.nii',
theResultOutputDir ,filesep));
Error in DPARSF_run (line 988)
rest_detrend([AutoDataProcessParameter.DataProcessDir,filesep,FunImgDir,filesep,AutoDataProcessParameter.SubjectID{i}],
'_detrend');
Error in DPARSF>pushbuttonRun_Callback (line 996)
[Error]=DPARSF_run(handles.Cfg);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in DPARSF (line 48)
gui_mainfcn(gui_State, varargin{:});
Error while evaluating uicontrol Callback
Submitted by ZHANG_RESTadmin on Tue, 02/18/2014 - 14:24 Permalink
Re: detreding error
you may need restart MATLAB, then run this firstly: rest_Fix_Read_Write_Error.