How to install QMRITools

QMRITools installation

If it doesn't work, read again.


The latest release can be found here. The toolbox is best installed via the Mathematica paclet system.

Automatic installation:

  1. Download the latest QMRITools-x.x.x.paclet.
  2. Install the paclet using PacletInstall.


Or alternatively you can directly install it from the latest release page


If you prefer you can also use the manual installation which is not recommended:

  1. Download the
  2. Extract the QMRITools folder and place it in the Mathematica UserBaseDirectory > Applications.

If you want to know your UserBaseDirectory run the following code in Mathematica

SystemOpen[FileNameJoin[{$UserBaseDirectory, "Applications"}]]

Alternatively you can also use the $BaseDirectory if you want the tools to be available to all users.

External dependencies

Some functions of QMRITools call on external executables and software. These executables need to be present in “QMRITools” and are included in the release. If for any reason you want to use other (older/newer) versions you can replace them but functionality is not guaranteed. For the latest version of these tools and their user license please visit their website.

All functionality is tested under Windows and MacOS with the latest Mathematica version. The Mathematica code is cross platform compatible with the exception of the external tools which are compiled for each OS. The toolbox provides compiled versions for each OS but their functionality is not guaranteed. The Elastix version used is 5.0.1 with OpenCL support. For dcm2niix various version are included.

Although cross platform compatibility is provided I have only limited options for testing so if any issues arise please let me know.

Loading the toolbox

The toolbox can be loaded by using


If you want to monitor the package loading you can use:

QMRITools`$Verbose = True;

A list of all QMRITools packages is generated by


A list of all DTITools functions or functions per toolbox is generated by

QMRIToolsFunctions["toolbox name"]

To print the documentation of all functions use

QMRIToolsFuncPrint["toolbox name"]

A list off all functions and their help can be found in All-Functions.nb, which is also available as a pdf file.