Hi David, You can use spm_vol to load the nifti file in Matlab and then use the ouput of spm_vol into spm_read_vols to transform it into a multidimensional array (3d or 4d, depending on your data). Best, George 2015-10-08 14:22 GMT+02:00 Tomecek David <[log in to unmask]>: > Hello everybody, > > > > How can I convert nifti image to many matrices using some SPM function? I > believe there is such function but I didn’t find it. > > > > Thank you! > > > > Best > > David > > > > > > *David Tomecek* > > Junior researcher > > > > National Institute of Mental Health > > 748 Topolova, 250 67 Klecany > > Czech Republic > > Email: [log in to unmask] > > GSM: +420 732 617 727 > > WWW: www.nudz.cz > > [image: nimh] >