Adding directories to your matlab path


  • Create a 'matlab' directory in your home directory if it does not already exist (every time you launch matlab, it will look into this directory to set up the path)
  • Within this directory, create a file called 'startup.m', with the mincdiffusion directory included (example here)
  • Open the startup.m file and modify the /path/to/mincdiffusion line to match the location where you installed it (you should also modify the path/to/niak which is a pacakge you will need for minctensor.pl)
  • Note that this path definition is based on a full matlab installation, there might be complaints if you have a student version, for example. In this case, simply modify the path so as not to include all the extra toolboxes
    Ilana Leppert
    created: 13th May 2008
    last modified: Nov 2nd 2011