VoxelSpecificHeadMotion problem

Submitted by qtwing@nate.com on

Dear experts,

I got this error during the processing.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Generating voxel specific head motion for H:\Analysis\Group1\RealignParameter\Sub_011\rp_a20130810_124426ep2dbold780resting00000011JiSoos003a001.txt...

Undefined function 'gmdmp' for input arguments of type 'double'.

Error in y_VoxelSpecificHeadMotion (line 79)
    Disp = y_gmdmp(inv(M_RigidBodyTransform)*Head0.mat, 2, D, 1) - gmdmp(Head0.mat, 2, D, 1);

Error in DPARSFA_run>(parfor body) (line 925)
            [MeanTDvox, MeanFDvox, Header_Out] =
            y_VoxelSpecificHeadMotion(RPFile,RefFile,OutputDir,0);

Error in parallel_function (line 466)
            F(base, limit);

Error in DPARSFA_run (line 905)
    parfor i=1:AutoDataProcessParameter.SubjectNum

Error in DPARSFA>pushbuttonRun_Callback (line 1670)
    [Error]=DPARSFA_run(handles.Cfg);

Error in gui_mainfcn (line 96)
        feval(varargin{:});

Error in DPARSFA (line 30)
    gui_mainfcn(gui_State, varargin{:});
 
Error while evaluating uicontrol Callback

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Best,

Saske

YAN Chao-Gan

Fri, 02/06/2015 - 22:12

Hi Saske,

This is a but, please change line 79 in y_VoxelSpecificHeadMotion into:

Disp = y_gmdmp(inv(M_RigidBodyTransform)*Head0.mat, 2, D, 1) - y_gmdmp(Head0.mat, 2, D, 1);

Best,

Chao-Gan