Skip to content
MTEX is a free Matlab toolbox for quantitative texture analysis. Homepage:
MATLAB AGS Script C Python M Objective-C Other
Branch: develop
Clone or download


Type Name Latest commit message Commit time
Failed to load latest commit information.
EBSDAnalysis include much faster inpolygon Jan 31, 2020
ODFAnalysis new function symmetry/numProper Jan 29, 2020
PoleFigureAnalysis docu Feb 10, 2020
S2Fun work on Jan 19, 2020
SO3Fun Eriks Arbeit Nov 28, 2019
TensorAnalysis use fast eig3 for symmetric tensors Feb 10, 2020
compatibility ensure compatibility with Matlab 2016a by adding contains function Dec 21, 2019
data include ferrite data set Jan 9, 2020
doc start on Cluster Demo Jan 28, 2020
extern include much faster inpolygon Jan 31, 2020
geometry compute markersize in scatter3 as in scatter Feb 19, 2020
interfaces Attempt to fix ang: Introduce notIndexed Feb 7, 2020
mex include much faster inpolygon Jan 31, 2020
obsolete replace orientation/calcODF and orientation/calcMDF by orientation/ca… Nov 8, 2019
plotting allow to call newSphericalPlot without vector3d argument Feb 19, 2020
templates minor Apr 10, 2019
tests minor Oct 28, 2019
tools work on Jan 19, 2020
.gitignore fix for matlab 2016a Jan 8, 2016
.gitmodules added external modul struct2xml Oct 30, 2019
AUTHORS No commit message Apr 30, 2018
CHANGELOG minor: fix link Feb 2, 2020
COPYING.txt minor Jun 25, 2014
INSTALL No commit message Apr 30, 2018
Makefile MTEX 5.2.8 Jan 8, 2020
Misorientations.m work on docu Sep 24, 2019 minor Feb 18, 2018
VERSION MTEX 5.2.8 Jan 8, 2020
info.xml changed html location Jan 8, 2016
install_mtex.m minor Jun 25, 2014
mtex_icon.gif minor Jun 25, 2014
mtex_settings.m include much faster inpolygon Jan 31, 2020
startup.m minor Jun 25, 2014
startup_mtex.m ensure compatibility with Matlab 2016a by adding contains function Dec 21, 2019
uninstall_mtex.m minor Jun 25, 2014


MTEX is an open source MATLAB toolbox for crystallographic texture analysis. Its main features are

  • crystal geometry, symmetries, Miller indices
  • orientation maps, e.g. from EBSD, transmission EBSD
  • diffraction pole figures, e.g. from XRD, synchrotron, neutron
  • ODF reconstruction from pole figures or individual orientations
  • grain reconstruction from orientation maps
  • grain boundary analysis
  • orientation distribution analysis
  • elastic and plastic deformations
  • texture simulation and texture evolution
  • publication ready plots
  • batch processing of many data sets

In contrast to many other software

  • it has no graphical user interface
  • it is not restricted to any particular EBSD or XRD device
  • is completely customizable
  • does support all crystallographic point groups (not only Laue groups)

More detail can be found in the documentation.

Installation and requirements

MTEX requires Matlab (R2014b) or later and come with binaries from the NFFT.

To install proceed as follows:

  1. download and extract the zip file to an arbitrary folder
  2. start Matlab (version 2014b or newer required
  3. change the current folder in Matlab to the folder where MTEX is installed
  4. type startup_mtex into the command window
  5. click one of the menu items to import data or to consult the documentation


Since MTEX is open source we are happy about any kind of contribution. In order suggest bug fixes, new features or improved documentation to MTEX proceed as follows:

  1. fork the MTEX repository to your personal GitHub account
  2. clone it on your local computer
  3. apply your changes
  4. push your changes to your personal GitHub account
  5. create a pull request to MTEX/development

Note, that when cloning MTEX the binaries in mtex/mex and mtex/extern/nfft are not included but must be copied from an zip-file based installation as explained above.


See COPYING.txt for MTEX's licensing information.

You can’t perform that action at this time.