[MINC-users] [avsurf error]: Function '+' not defined for variables of class 'int32'

Najmeh Khalili M. najma at bic.mni.mcgill.ca
Fri Nov 28 16:41:50 EST 2008


Hello,

Can anyone help me with solving the following error please?
I am trying to average the hemispheric object files of 50
subjects. (I am using matlab 6.1 on a local linux box.)

Many thanks,
Najma

>> avsurf = SurfStatAvSurf( filesboth );
50 x 2 files to read, % remaining: 100 ??? Error using ==> +
Function '+' not defined for variables of class 'int32'.

Error in ==>
/export01/local/matlab7a/toolbox/surfstat/SurfStatReadSurf.m
On line 66  ==>         surf.tri=[surf.tri;
int32(s.tri)+size(c,2)];

Error in ==>
/export01/local/matlab7a/toolbox/surfstat/SurfStatAvSurf.m
On line 29  ==>
[s,ab]=SurfStatReadSurf(filenames(i,:),ab,2);




More information about the MINC-users mailing list