July 2011

dparsf工作目录无法选定

dear chaogan,
我在matlab2010b里装载了dparsf2.0,但是打开以后点选工作路径的时候弹出提示框按ok之后没有反应,命令行出现如下字段:
??? Attempt to reference field of non-structure array.

Error in ==> DPARSF>btnSelectWorkingDir_Callback at 247
theDir =handles.Cfg.WorkingDir;

Error in ==> gui_mainfcn at 96
feval(varargin{:});

Error in ==> DPARSF at 41
gui_mainfcn(gui_State, varargin{:});

运行DPARSFA 不停跳出以下提示,并且对spm的调用比平常要慢

Warning: The fourth output, VERSN, of FILEPARTS will be removed in a future release.
> In fileparts at 35
In spm_slice_timing at 188
In spm_run_st at 25
In matlabbatch/private/cfg_run_cm at 29
In cfg_util>local_runcj at 1363
In cfg_util at 699
In spm_jobman at 207
In DPARSFA_run at 236
In DPARSFA>pushbuttonRun_Callback at 969
In gui_mainfcn at 96
In DPARSFA at 30

Be cautious when regressing out covariates

Be cautious when regressing out covariates.
We simulated three random timecourses X, Y and Z that are normally distributed to perform linear regression. Let Y to be the ROI timecorese
and X, Z to be the covariates. The regression coefficients and residual after two-factor linear regression are extremely same with that of two Unary linear regressions. The results are as bellow: