Marie Smith marie at PSY.GLA.AC.UK
Mon Mar 13 16:35:14 CET 2006


I am trying to load CTF .mri files using the read_ctf_mri function.
The function fails when the reshape function is called. Having
checked the contents of mri at this point they do not total
256*256*256 elements, but some smaller number (256*256*255.39). Could
anyone suggest why this would be the case?


Marie Smith

%%% Error message
To RESHAPE the number of elements must not change.

Error in ==> read_ctf_mri at 103
mri = reshape(mri, [256 256 256]);

More information about the fieldtrip mailing list