Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_write_volume”.
FT_WRITE_VOLUME exports volumetric data to a file. Use as V = ft_write_volume(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) See also FT_WRITE_DATA
Share this page: