Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_write_mri”.
FT_WRITE_MRI exports volumetric data such as anatomical and functional MRI to a file. Use as V = ft_write_mri(filename, dat, ...) The specified filename can already contain the filename extention, but that is not required since it will be added automatically. Additional options should be specified in key-value pairs and can be 'spmversion' spmversion to be used (in case data needs to be written in analyze format 'dataformat' string, see below 'transform' transformation matrix, specifying the transformation from voxel coordinates to head coordinates The supported dataformats are analyze nifti mgz (freesurfer) vista See also FT_READ_MRI, FT_WRITE_DATA, FT_WRITE_HEADSHAPE
Share this page: