help > RE: Error in conn_process (line 1398)
Jun 8, 2014  05:06 AM | Alfonso Nieto-Castanon - Boston University
RE: Error in conn_process (line 1398)
Hi Roger,

The size(B)=[1,0] error indicates that you have no ROIs defined (or left after the preprocessing step) for the first-level analysis of some subject (but curiously not for the first subject, otherwise the program would skip that portion of the code). While I am not exactly sure how this could happen, I would probably suggest to re-run the Setup/Preprocessing/FirstLevel steps making sure to overwrite any already-analyzed subjects/seeds (select the proceed for all subjects/seeds option when prompted). This is just to make sure all of the subjects have been processed using the same combination of ROIs. Also I would probably suggest checking whether in the Preprocessing step you are perhaps entering all of the ROIs into the confounds list (this could be one possible reason why you could have no remaining ROIs to analyze); typically the proper selection in the confounds list is to add to this list only the White/CSF ROIs, as well as the realignment parameters and potentially task-related effects. 

Please let me know if this helps. I might be missing something obvious so if none of this helps please send me your conn_*.mat file so that I can have a quick look at it to see if I can figure out what might be going on. 

Best
Alfonso
Originally posted by Roger Beaty:
Hi everyone,

I'm attempting a within-subjects analysis (block design) with two conditions. During the second level processing, I ran into the following error:

Attempted to access B(2,:); index out of bounds because size(B)=[1,0].

Error in conn_process (line 1398)
t(idx)=B(1+nroi,:);

Error in conn_process (line 23)
case 'analyses_gui_seed',disp(['CONN: RUNNING ANALYSIS STEP (ROI-to-ROI or seed-to-voxel analyses)']); conn_process([10:12,15],CONN_x.Analysis);

Error in conn (line 2447)
conn_process('analyses_gui_seed',CONN_x.Analysis);

Error in conn_menumanager (line 120)
feval(MM.MENU{n0}.callback{n1}{1},MM.MENU{n0}.callback{n1}{2:end});

Any insight into the error is greatly appreciated.

Thanks,

Roger Beaty

Threaded View

TitleAuthorDate
Roger Beaty Jun 7, 2014
RE: Error in conn_process (line 1398)
Alfonso Nieto-Castanon Jun 8, 2014
Roger Beaty Jun 8, 2014
Alfonso Nieto-Castanon Jun 9, 2014
Roger Beaty Jun 9, 2014