help > Error message in 2nd level analysis
Showing 1-5 of 5 posts
Display:
Results per page:
Aug 4, 2011  04:08 AM | Mac Shine
Error message in 2nd level analysis
Hi there,

I'm a new user of Conn. Lovely toolbox, btw. I am having a pretty regular problem with the 2nd level analysis function tho. Whenever I push DONE and wait for the 2nd level analysis to run, I get this error message:

??? Reference to non-existent field 'csources'.

Error in ==> conn_process at 1465
                    csources=SPMall(n1).connvols.csources;

Error in ==> conn_process at 18
        case 'results',         conn_process(14:15,varargin{:});

Error in ==> conn at 1601
                conn_process('results');

Error in ==> conn_menumanager at 112
feval(MM.MENU{n0}.callback{n1}{1},MM.MENU{n0}.callback{n1}{2:end});
 
??? Error while evaluating figure WindowButtonUpFcnAny help would be greatly appreciated.mac
Aug 4, 2011  10:08 AM | Alfonso Nieto-Castanon - Boston University
RE: Error message in 2nd level analysis
Hi Mac,
 
You would need to select a 'random-effects' model (instead of 'fixed-effects' model) in the second-level results window to be able to run these analyses (currently fixed-effects second-level analyses are only partially implemented as a simple way to look at single-subject data, but most of the second-level results, including the 'whole-brain' displays and 'done' options, are only implemented for random-effect analyses)
 
Hope this helps
Alfonso
 
 
Aug 16, 2011  06:08 AM | Andy Stenger
RE: Error message in 2nd level analysis
Hi,

I agree this is a great tool. I get that error when I do the fixed effects as well but i also get an error for the random effects:

??? Reference to non-existent field 'iB'.

Error in ==> spm_spm at 453
    iX0    = [SPM.xX.iB SPM.xX.iG];

Error in ==> conn_process at 1484
                    SPM=spm_spm(SPM);

Error in ==> conn_process at 20
        case 'results',         conn_process(14:15,varargin{:});

Error in ==> conn at 1643
                conn_process('results');

Error in ==> conn_menumanager at 112
feval(MM.MENU{n0}.callback{n1}{1},MM.MENU{n0}.callback{n1}{2:end}); 
??? Error while evaluating figure WindowButtonUpFc

Any ideas?

Thanks,
Andy
Aug 16, 2011  06:08 AM | Alfonso Nieto-Castanon - Boston University
RE: Error message in 2nd level analysis
Hi Andy,
 
Sorry about that, that 'iB' error is associated with some recent modification in SPM8, could you try the attached conn_process.m file (simply save this file into your conn distribution folder overwriting the file with the same name) and let me know whether that seems to fix this issue?
 
Alfonso
 
Attachment: conn_process.m
Aug 17, 2011  07:08 PM | Andy Stenger
RE: Error message in 2nd level analysis
Thanks. That worked.