Unlike most other texture analysis software MTEX does not have any graphical user interface. Instead the user is suposed to write scripts. Those scripts usually have the following structure

1. import data
2. inspect the data
3. correct the data
4. analyze the data
5. plot and export the results of the analysis

During all these steps the data are stored as variables of different type. There are many different types of variables (called classes) for different objects, like vectors, rotations, EBSD data, grains or ODFs. The sidebar on the left lets you browse through all different MTEX class and the corresponding functions.

Variables are generated automatically when data are imported. E.g., the command

imports data from the file fileName.ctf and stores them in the variable ebsd of type EBSD. In the command window the variable ebsd is displayed as follows

Next one can pass the variable ebsd to diferent MTEX function. E.g. to plot the EBSD one simply does

The grain structure is reconstructed by the command

which returns a new variable, here called grains

which is of type grain2d and contains the entire grain structure. Finally, we my visualize this structure by