Installation

Home

Introduction
  About ODT
  About TOAST
  Matlab toolbox

Download
  Matlab toolbox
  Installation

Documentation
  Getting Started
  Matlab demos
  FAQ
  Change log
  References
  License

Support
  Message board
  Contacts
  Vacancies

Windows users

  • After downloading the Common and the appropriate Windows binary package, unzip both into the same directory. Make sure that your unzip tool preserves the directory structure of the archive file.
  • This will create a subdirectory 'toast' in your current working directory, containing the toast binary installation tree.
  • Start Matlab. On the Matlab prompt, change the working directory to the Toast root directory, and run the mtoast_install script. This will add the required Toast script and mex directories to your Matlab path. It will open a dialog box for you to confirm the new paths. Click 'Save' to store the paths permanently.

Linux users

  • After downloading the Common and the appropriate Linux binary package, untar/unzip both into the same directory. Make sure that your extraction tools preserve the directory structure of the archive file.
  • This will create a subdirectory 'toast' in your current working directory, containing the toast binary installation tree.
  • You need to define some environment variables to ensure that the required libraries are located correctly. First, set the TOASTDIR environment variable to the toast installation root directory. Then you need to run a provided shell script to define the rest of the environment. This is a csh example:
    setenv TOASTDIR $HOME/toast
    source $TOASTDIR/toastenv.csh
    And a bash example
    export TOASTDIR=$HOME/toast
    source $TOASTDIR/toastenv.sh
    (Replace '$HOME/toast' with the appropriate path to the toast root directory of your installation, if required). For convenience, you should add these two lines to your .cshrc or .bashrc shell initialisation script, so you don't have to type them for each new session.
  • Start Matlab. On the Matlab prompt, change the working directory to the Toast root directory, and run the mtoast_install script. This will add the required Toast script and mex directories to your Matlab path. It will open a dialog box for you to confirm the new paths. Click 'Save' to store the paths permanently.