open-discussion > error artrepair art_slice
May 15, 2018  02:05 PM | Ariadna ALBAJARA SAENZ - ULB
error artrepair art_slice
Dear all, 

I am using art_slice and my study and for some of my participants I get the following errors:

Undefined function or variable 'LastGoodVol'.
Error in art_slice (line 397)
change = LastGoodVol(:,:,j-1) - Yn2(:,:,j-1); % how much the adjacent slice
changed between last volume and this volume
 
OR

Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 128-by-128.
Error in art_slice_STD (line 40)
allvols(i,:,:,j) = Yn2(:,:,j);
Error in art_slice (line 218)
STDvol = art_slice_STD(P, orient, nscans, pq, Automask, vx, vy, vz);


Would you know how to solve this? Any information anyone can provide will be greatly appreciated.
Thank you in advance,

Ariadna

Threaded View

TitleAuthorDate
error artrepair art_slice
Ariadna ALBAJARA SAENZ May 15, 2018
Idil Gemici Nov 21, 2022
yunfei zhao Nov 23, 2022
xu jiankang Nov 23, 2022