Installation Guide

Explains how to instal MTEX on you computer.

Download

The MTEX toolbox is available for Windows, Linux and MAC-OSX at: http://code.google.com/p/mtex/

MATLAB

Since MTEX is a MATLAB toolbox, MATLAB has to be installed in order to use MTEX. So far the MTEX toolbox has been tested with MATLAB versions 7.1 and higher. No additional addons or packages are necessary.

Installation

In order to install MTEX proceed as follows

Installation for All Users

If you are a system administrator and want to install MTEX such that it is available to all users of the computer, then

Checking Your Installation

After the next start of MATLAB you should see either the message

'MTEX toolbox loaded'
ans =
MTEX toolbox loaded

or in the case of a All User Installation

'in order to start the MTEX toolbox type: startup_mtex'
ans =
in order to start the MTEX toolbox type: startup_mtex

After the MTEX toolbox is loaded you can check your installation by typing

check_mtex
checking MTEX installation
this might take some time
 
simulating pole figures
 
pf = PoleFigure  
  crystal symmetry : m-3m
  specimen symmetry: 222
 
  h = (100), r = 1 x 206 points
  h = (110), r = 1 x 206 points
  h = (111), r = 1 x 206 points
  h = (211), r = 1 x 206 points
 
------ MTEX -- PDF to ODF inversion ------------------
Call c-routine
initialize solver
start iteration
error: 8.2110E-02 2.2828E-02 1.1396E-02 7.4612E-03 5.8534E-03 4.7929E-03 4.0929E-03 3.4589E-03 2.9928E-03 2.5734E-03 2.2540E-03 
Finished PDF-ODF inversion.
error: 2.2540E-03
alpha: 9.9983E-01 9.9975E-01 9.9964E-01 9.9982E-01 
required time: 2s
ghost correction
calculate with fixed background 0.73
initialize solver
start iteration
error: 5.0183E-01 2.9200E-01 1.9060E-01 1.3656E-01 9.7762E-02 6.7339E-02 4.4499E-02 2.9389E-02 2.0824E-02 1.6300E-02 1.3990E-02 1.2812E-02 
Finished PDF-ODF inversion.
error: 1.2812E-02
alpha: 1.0010E+00 9.9999E-01 9.9996E-01 9.9979E-01 
 
rec = ODF  
  crystal symmetry : m-3m
  specimen symmetry: 222
 
  Uniform portion:
    weight: 0.73013
 
  Radially symmetric portion:
    kernel: de la Vallee Poussin, halfwidth 10°
    center: 150 orientations, resolution: 10°
    weight: 0.26987
 
 
check reconstruction error: 
everythink seems to be ok!
Elapsed time is 3.816212 seconds.

Configuration and Troubleshooting

You can configure your MTEX installation by editting the file mtex_settings.m. See Configuration for more details! This page contains also some workarounds for known problems.

Don't hesitate to contact the authors of MTEX if you have any problems.

Compile MTEX Your Self

Compiling MTEX is only neccesary if the provided binaries does not run on your system (e.g. if you have a 64 bit system) or if you want to optimize them to you specific system. Compiling intstructions can be found here.