help > RE: Error in second level analysis
Mar 13, 2012  05:03 AM | Alfonso Nieto-Castanon - Boston University
RE: Error in second level analysis
Hi Mac,

One possible cause for this error would be if you have not added the conn toolbox directory to your matlab path. Simply type into the command line:

  addpath /software/conn
  savepath

(replacing the '/software/conn' bit with the full path of the folder where the conn toolbox files are stored) and I believe everything should work fine after this.

Let me know if this works.
Best
Alfonso

Originally posted by Mac Shine:
Hi everyone,

I've had some trouble with running the second level seed-to-voxel analysis in the newest version of Conn (13f). Everything works great untile I hit "Compute results for all sources" and then the following error pops up:

Step 1/2: Functional data second-level analyses
??? Undefined function or method 'conn_sourcenames' for input arguments of type 'char'.

Error in ==> conn_process at 2282
                    [iroi,isnew]=conn_sourcenames(roiname,'-');

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

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

Error in ==> conn_menumanager at 116
                            feval(MM.MENU{n0}.callback{n1}{1},MM.MENU{n0}.callback{n1}{2:end});
 
??? Error using ==> drawnow



Any ideas about how I can fix this?

Thanks in advance

Mac

Threaded View

TitleAuthorDate
Mac Shine Mar 13, 2012
RE: Error in second level analysis
Alfonso Nieto-Castanon Mar 13, 2012
Mac Shine Mar 14, 2012