NYU CBI NIfTI Matlab tool
The NIfTImatlab tool allows the user to operate on NIfTI image files from Matlab.
niftimatlab is licensed under the standard BSD license.
1.2, released March 22, 2011.
You can download the source code with pre-compiled mex files from
The mex files where compiled for the following O/S and MATLAB versions:
- Mac OS X 10.8 with MATLAB 8.0 (extension ".mexmaci64")
- Linux Fedora 20 with MATLAB 7.14 (extension ".mexa64")
The version of the nifticlib needed for the tools is included in the
distribution. It will be built inside the NIfTImatlab directory in the
$ cd NIfTImatlab
$ ./configure [arguments]
$ make all
$ make install (optional)
The most common arguments for configure are:
- --bindir=DIR : where to install the NIfTImatlab scripts and
- --libdir=DIR : where to install the libraries
the build depends on either $TMW_ROOT
defined, or the command matlab
to point to the correct
Matlab executable. If neither condition is met, the build will fail.
Please look at the file NIfTImatlab/examples/niftiexample.m for some
basic operations. Also, from within Matlab, the command
>> help niftifile
will provide top level help.
For additional help, please contact firstname.lastname@example.org