Hello Everyone,
I want to know how to load one asc file into matlab.
Using mris_convert, I obtained 'rh.lh.sphere.reg.asc'. The procedure is here mris_convert rh.lh.sphere.reg rh.lh.sphere.reg.asc
In matlab, when I applied fname='rh.lh.sphere.reg.asc' [S, v, f] = read_asc(fname) the following message comes out
[??? Error using ==> reshape To RESHAPE the number of elements must not change. Error in ==> read_asc at 23 f = reshape(f, [5 S(3)])';]
Do you know how to solve the problem?
Thanks in advance
rhuang
freesurfer@nmr.mgh.harvard.edu