help
help > RE: Error using ==> mat2file, preprocessing step
Oct 28, 2011 08:10 PM | Alfonso Nieto-Castanon - Boston University
RE: Error using ==> mat2file, preprocessing step
Hi Nicola
Sorry about this (that seems to be a bug in the code when creating the optional 'confound beta maps' and using resampling of voxel-based analyses to the standard resolution). In any way, please let me know whether the attached patch seems to fix this issue (simply substitute the existing conn_process.m file in the standard conn distribution folder with the attached one and then rerun the 'preprocessing' step).
Thanks
Alfonso
Originally posted by nicola canessa:
Sorry about this (that seems to be a bug in the code when creating the optional 'confound beta maps' and using resampling of voxel-based analyses to the standard resolution). In any way, please let me know whether the attached patch seems to fix this issue (simply substitute the existing conn_process.m file in the standard conn distribution folder with the attached one and then rerun the 'preprocessing' step).
Thanks
Alfonso
Originally posted by nicola canessa:
Dear experts,
I've just started to use the "conn" toolbox. Everything works fine with the Setup, but I receive the following error message at the very beginning of the preprocessing-step. I am not expert with matlab programming, thus I wonder whether it may depend on the different size of the functional (91 109 91) vs. structural and segmented GM, WM, CSF (121 145 121) images. Of course I could try again after changing their size, but since it took hours to prepare the data and run the setup, I would appreciate so much any hint about this issue.
Thank you very much in advance,
best,
nicola
CONN: RUNNING PREPROCESSING STEP
??? Error using ==> mat2file
Subscripted assignment dimension mismatch (2).
Error in ==> file_array.subsasgn>subfun at 132
mat2file(sobj,dat,va{:});
Error in ==> file_array.subsasgn at 70
subfun(sobj,double(dat),args{:});
Error in ==> spm_write_plane at 33
V.private.dat = subsasgn(V.private.dat,S,dat);
Error in ==> conn_process at 705
V(n1)=spm_write_plane(V(n1),t,slice);
Error in ==> conn_process at 13
case 'preprocessing_gui',disp(['CONN: RUNNING PREPROCESSING STEP']);
conn_process([6:9],varargin{:});
Error in ==> conn at 1282
conn_process('preprocessing_gui');
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
I've just started to use the "conn" toolbox. Everything works fine with the Setup, but I receive the following error message at the very beginning of the preprocessing-step. I am not expert with matlab programming, thus I wonder whether it may depend on the different size of the functional (91 109 91) vs. structural and segmented GM, WM, CSF (121 145 121) images. Of course I could try again after changing their size, but since it took hours to prepare the data and run the setup, I would appreciate so much any hint about this issue.
Thank you very much in advance,
best,
nicola
CONN: RUNNING PREPROCESSING STEP
??? Error using ==> mat2file
Subscripted assignment dimension mismatch (2).
Error in ==> file_array.subsasgn>subfun at 132
mat2file(sobj,dat,va{:});
Error in ==> file_array.subsasgn at 70
subfun(sobj,double(dat),args{:});
Error in ==> spm_write_plane at 33
V.private.dat = subsasgn(V.private.dat,S,dat);
Error in ==> conn_process at 705
V(n1)=spm_write_plane(V(n1),t,slice);
Error in ==> conn_process at 13
case 'preprocessing_gui',disp(['CONN: RUNNING PREPROCESSING STEP']);
conn_process([6:9],varargin{:});
Error in ==> conn at 1282
conn_process('preprocessing_gui');
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
Threaded View
| Title | Author | Date |
|---|---|---|
| Nicola Canessa | Oct 28, 2011 | |
| Alfonso Nieto-Castanon | Oct 28, 2011 | |
| Nicola Canessa | Nov 19, 2011 | |
