help > RE: CONN v14p: Second-level analyses error
Apr 15, 2015  08:04 PM | sanja2012
RE: CONN v14p: Second-level analyses error
Dear Alfonso,

As of recently, I am having the same issue as Jami. I am analyzing resting-state data, so there is one condition only, with infinite duration (I have tried using both 'Inf' and 600 (10 minutes) for the duration) . I have rerun this a few times, using SPM8 and SPM12, and Conn 14p and 15a. I use Matlab 2014b. 
Everything seems perfectly fine until the 2nd level analysis when I get the error below. The condition appears in the 1st level analysis tab, but not in the 2nd level analysis. The Conn file is attached. Help would be greatly appreciated. Thank you. 

ERROR DESCRIPTION:

Attempted to access CONN_h.menus.m_results.shownconditions(0); index must be a positive integer or logical.
Error in conn (line 4493)
nconditions=CONN_h.menus.m_results.shownconditions(nconditions);
Error in conn (line 3712)
conn gui_results;
Error in conn_menumanager (line 109)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});



Hi Jami,

This message typically indicates that there are no valid conditions ready for second-level analyses. I would suggest re-running your first-level analysis step (make sure you select "all conditions" when prompted). If that does not work please send me your conn_*.mat file to see if I can figure out what might be the problem there.

Best
Alfonso
Originally posted by jami andy:
Hi
I have matlab2013 and CONN v14p. I got the following error in the 2nd level analysis.
I checked many times my conditions and the 2nd level covariates.. They all look ok. I don't know what else to do.. Any help will be greatly appreciated.
thanks
J. 

"ERROR DESCRIPTION:

Attempted to access CONN_h.menus.m_results.shownconditions(0); index must be a positive integer or logical.
Error in conn (line 4436)
nconditions=CONN_h.menus.m_results.shownconditions(nconditions);
CONN v.14.p
SPM8 + Beamforming DEM FieldMap MEEGtools
Matlab v.2013a
storage: 709.8Gb available

Threaded View

TitleAuthorDate
Janani Raveendran Feb 23, 2012
Alfonso Nieto-Castanon Feb 23, 2012
jami andy Mar 17, 2015
Alfonso Nieto-Castanon Mar 22, 2015
RE: CONN v14p: Second-level analyses error
sanja2012 Apr 15, 2015
Alfonso Nieto-Castanon Apr 17, 2015
sanja2012 Apr 17, 2015
Alfonso Nieto-Castanon Apr 17, 2015
sanja2012 Apr 17, 2015
jami andy Mar 17, 2015
Janani Raveendran Feb 23, 2012
Alfonso Nieto-Castanon Feb 24, 2012
Janani Raveendran Feb 24, 2012
Janani Raveendran Mar 1, 2012
Alfonso Nieto-Castanon Mar 1, 2012
Janani Raveendran Mar 1, 2012