help > Persistent error
Showing 1-2 of 2 posts
Display:
Results per page:
Nov 8, 2011  10:11 PM | alla yankovskaya
Persistent error
Hi conn -community,

I would be grateful for any help or suggestions.
I'm running conn on event-related design (despite there is some disadventage): slow event-related, 6 condition, 6 sessions concamenated into one. ROI has been created on the same data set using marsbar. 

Onsets for each conditions are entered by import SPM.mat. Duration: 582 scans X 2.4 (TR) = 1396.8 sec.

Once I've finished the setup step and pressed the preprocessing button, there is error in Matlab:

??? Index exceeds matrix dimensions.

 

Error in ==> conn_designmatrix at 48

        if isfield(X1,'xyz'),for

       
n0=1:size(x,2),xyz{end+1}=X1.xyz{idx}+(n0-1)*(confounds.deriv{n1}+1);end;end


       

Error in ==> conn at 1217

                                                [CONN_h.menus.m_preproc.X,CONN_h.menus.m_preproc.select]=conn_designmatrix(CONN_x.Preproc.confounds,CONN_h.menus.m_preproc.X1,CONN_h.menus.m_preproc.X2,{nconfounds,nview});

           

Error in ==> conn_menumanager at 116

                                                                                                                feval(MM.MENU{n0}.callback{n1}{1},MM.MENU{n0}.callback{n1}{2:end});


??? Error while evaluating figure WindowButtonUpFcn

 

Please, could you help me with this?

thank you

Nov 10, 2011  05:11 PM | Alfonso Nieto-Castanon - Boston University
RE: Persistent error
Hi Alla,

Sorry about this, I believe the attached patch should fix this error (simply copy this file into the conn toolbox folder, overwriting the file with the same name there; this bug had been reported before and the patch is already packed into the next release of the toolbox which should come out any day now) . Please let me know if you are still running into any issues

Best
Alfonso
Originally posted by alla yankovskaya:
Hi conn -community,

I would be grateful for any help or suggestions.
I'm running conn on event-related design (despite there is some disadventage): slow event-related, 6 condition, 6 sessions concamenated into one. ROI has been created on the same data set using marsbar. 

Onsets for each conditions are entered by import SPM.mat. Duration: 582 scans X 2.4 (TR) = 1396.8 sec.

Once I've finished the setup step and pressed the preprocessing button, there is error in Matlab:

??? Index exceeds matrix dimensions.

 

Error in ==> conn_designmatrix at 48

        if isfield(X1,'xyz'),for

       
n0=1:size(x,2),xyz{end+1}=X1.xyz{idx}+(n0-1)*(confounds.deriv{n1}+1);end;end


       

Error in ==> conn at 1217

                                                [CONN_h.menus.m_preproc.X,CONN_h.menus.m_preproc.select]=conn_designmatrix(CONN_x.Preproc.confounds,CONN_h.menus.m_preproc.X1,CONN_h.menus.m_preproc.X2,{nconfounds,nview});

           

Error in ==> conn_menumanager at 116

                                                                                                                feval(MM.MENU{n0}.callback{n1}{1},MM.MENU{n0}.callback{n1}{2:end});


??? Error while evaluating figure WindowButtonUpFcn

 

Please, could you help me with this?

thank you

Attachment: conn_designmatrix.m