writeData(headinf, datavec)datavec is given the @datavector slot of the fmri.data-object is used.TRUE when successful.@filetype, path @fullpath, and filename @filename are within the fmri.data-object (also see nifti.fileinfo ).
Changing these values will modify where and how the data are saved.fmri.data , nifti.header , nifti.fileinfo , readData