See this post:
For a 4D file '4dfile.nii'
will give you a 4D matlab array containing all your intensities.
Reading and writing is explained in the documentation (see the mail
Volkmar Glauche wrote:
> Dear Satrajit,
> you can use 4D data, but you have to specify them frame by frame as if
> they were different files. In spm_select, there is a field where you can
> enter the frame numbers that are to be displayed. 4D nifti data will
> show up as file.nii,1 file.nii,2 ...
> Am Mittwoch, den 16.04.2008, 11:51 -0400 schrieb Satrajit Ghosh:
>> Is there any documentation that describes availability of 4D nifti
>> support in spm routines called from the command line?
>> For example,
>> function 4D support
>> spm_realign yes
>> spm_smooth no
>> Satrajit Ghosh, PhD
>> Research Scientist
>> Speech Communications Group
>> Research Lab of Electronics @ [ M I T ]