help > voxel-to-voxel analyses error: reshape
Showing 1-3 of 3 posts
Display:
Results per page:
Nov 19, 2011  10:11 AM | Nicola Canessa - IRCCS Ospedale San Raffaele, Division of Neuroscience
voxel-to-voxel analyses error: reshape
Dear experts, dear Alfonso
I am using conn 13.h on Matlab 7.12.0 (R2011a), and got this errror at the beginning of the "voxel-to-voxel" first-level analysis (while I could run "roi-to-roi" and "seed-to-voxel" analyses without problems). I've searched for similar issues in the forum (also in the recent posts on voxel-to-voxel first level analyses), but could not find a solution.

I would be grateful for any suggestions,
best,
nicola

---

CONN: RUNNING ANALYSIS STEP (voxel-to-voxel analyses)
??? Error using ==> reshape
To RESHAPE the number of elements must not change.

Error in ==> conn_get_slice at 13
x=V.scale*reshape(x,[ntime,V.size.Nv(slice)]);

Error in ==> conn_process at 1537
                                temp=conn_get_slice(Y1,slice);

Error in ==> conn_process at 21
        case 'analyses_gui_vv', disp(['CONN: RUNNING ANALYSIS STEP (voxel-to-voxel
        analyses)']); conn_process([13],varargin{:});

Error in ==> conn at 1807
            conn_process('analyses_gui_vv');

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

---
Nov 20, 2011  02:11 AM | Alfonso Nieto-Castanon - Boston University
RE: voxel-to-voxel analyses error: reshape
Dear Nicola,

Thanks for reporting this, I believe this was a bug in the code when dealing with different dof's across subjects and/or conditions, could you please try the attached patch and let me know whether this fixes this issue? (simply save this file in the conn toolbox folder overwriting the file with the same name there)

Best
Alfonso
Originally posted by nicola canessa:
Dear experts, dear Alfonso
I am using conn 13.h on Matlab 7.12.0 (R2011a), and got this errror at the beginning of the "voxel-to-voxel" first-level analysis (while I could run "roi-to-roi" and "seed-to-voxel" analyses without problems). I've searched for similar issues in the forum (also in the recent posts on voxel-to-voxel first level analyses), but could not find a solution.

I would be grateful for any suggestions,
best,
nicola

---

CONN: RUNNING ANALYSIS STEP (voxel-to-voxel analyses)
??? Error using ==> reshape
To RESHAPE the number of elements must not change.

Error in ==> conn_get_slice at 13
x=V.scale*reshape(x,[ntime,V.size.Nv(slice)]);

Error in ==> conn_process at 1537
                                temp=conn_get_slice(Y1,slice);

Error in ==> conn_process at 21
        case 'analyses_gui_vv', disp(['CONN: RUNNING ANALYSIS STEP (voxel-to-voxel
        analyses)']); conn_process([13],varargin{:});

Error in ==> conn at 1807
            conn_process('analyses_gui_vv');

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

---
Attachment: conn_process.m
Feb 3, 2012  08:02 PM | alla yankovskaya
RE: voxel-to-voxel analyses error: reshape
Hi, Alfonso
I had the same error message as Nicola. I tryed the new conn_process.mat you have had attached. This works perfectly, no error reported.
Thank you very much for great support. 
all the best
alla