MTEX 4.0

35 views
Skip to first unread message

Ralf Hielscher

unread,
Aug 20, 2014, 2:54:35 PM8/20/14
to
Dear MTEX users,

we are very proud to announce MTEX 4.0.beta1 which is one of the biggest rewrites in MTEX history. MTEX 4.0 adds a lot of new features as
  • explicit grain boundary handling
  • support for all 32 Laue groups, including differentiation between 11m, 1m1, m11, -3m1, -31m, ...
  • improved visualization, e.g., individual colorbars for pole figure plot
  • many small improvements
Beside these visible changes MTEX 4.0 has seen major internal changes. Shortly spoken, MTEX 4.0 switched to the new class system of MATLAB to keep compatibility with future releases of MATLAB. In particular, it is already foreseeable that MTEX 3.5 will not run on Matlab version newer then 2014a. The switch to the new class system has also many advantages in the usability of MTEX. As this switch causes incompatibility of the MTEX 4.0 with older versions we decided to take the chance and give the MTEX syntax a general overhaul.  Please refer to the changelog for further details. In particular, scripts written for MTEX 3.x wont work with MTEX 4.0. We have started new forum topic where we collect all hints to make the transition as smooth as possible.

Thank you very much.

Ralf Hielscher and Florian Bachmann


Andy Parsons

unread,
Mar 17, 2014, 1:30:07 PM3/17/14
to mtex...@googlegroups.com
Hi Ralph,

Im having problems unzipping everything in this download. A large number of the scripts including the install and startup scripts simply won't transfer into an unzipped file. 

Any chance you can help?

Cheers,
Andy

On Sunday, 23 February 2014 00:37:05 UTC, Ralf Hielscher wrote:
Dear texture experts,

we are very proud to announce a first prerelease of MTEX 4.0 which is one of the biggest rewrites in MTEX history. Shortly spoken, MTEX 4.0 switched to the new class system of MATLAB to keep compatibility with future releases of MATLAB. In particular, it is already foreseeable that MTEX 3.5 will not run on Matlab version newer then 2014a. 

The switch to the new class system has also many advantages in the usability of MTEX. Please refer to the changelog for further details. On the feature side MTEX 4.0 is now capable to calculate with all 32 point group, i.e. it also includes reflections and inversions.

As MTEX 4.0 introduces several new concepts and breaks with some old ones we decided to release a very early alpha version and hope for feedback from your side to improve MTEX 4.0 further.

Ralf Hielscher

unread,
Mar 19, 2014, 9:21:19 AM3/19/14
to mtex...@googlegroups.com
Can anybody confirm these problems. Do they persist on different computers as well?

Ralf.

David Mainprice

unread,
Mar 19, 2014, 9:27:56 AM3/19/14
to mtex...@googlegroups.com
I can without problem install version 4 alpha 1

>> startup_mtex
 
  MTEX 4.0.alpha1 (show documentation)
  Import pole figure data
  Import EBSD data
  Import ODF data
 
  Uninstall MTEX


all the best David

--
If you want to reduce the number of emails you get through this forum login to https://groups.google.com/forum/?fromgroups=#!forum/mtexmail, click "My membership" and select "Don't send me email updates". You can still get emails on selected topics by staring them.
---
You received this message because you are subscribed to the Google Groups "MTEX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mtexmail+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/mtexmail.
For more options, visit https://groups.google.com/d/optout.

David Mainprice
15 Les Romarins
34270 Les Matelles

(In France 04 67 67 03 30)

Fauzan Adziman

unread,
Mar 25, 2014, 6:00:03 AM3/25/14
to mtex...@googlegroups.com
Yes, I found the same problem. 

Some files in the mtex-4.0.alpha1.zip could not be unzipped, e.g. startup_mtex.m, install_mtex.m, uninstall_mtex.m, update_mtex.m, etc. I am using "Extract All..." feature in windows explorer of Windows 7. Error code: 0x80004005.

Thanks,
Fauzan 

zhh...@163.com

unread,
Mar 25, 2014, 8:32:41 AM3/25/14
to mtex...@googlegroups.com
Dear Ralf,

Thank you for your hard work on the new MTEX. I also encountered the problem Andy Parsons found. Basically it is that a large number of the scripts including the install and startup scripts simply won't transfer into an unzipped file. Hope you could have a look at it.

Thank you very much for your time.
Haitao  

在 2014年3月19日星期三UTC+8下午9时21分19秒,Ralf Hielscher写道:

Ralf Hielscher

unread,
Mar 26, 2014, 4:17:27 AM3/26/14
to mtex...@googlegroups.com
I uploaded a new zip file. Maybe anybody can check this.

Ralf

David Mainprice

unread,
Mar 26, 2014, 4:21:25 AM3/26/14
to mtex...@googlegroups.com
Dear Ralf,

It seems to work

>> startup_mtex
 
  MTEX 4.0.alpha1 (show documentation)
  Import pole figure data
  Import EBSD data
  Import ODF data
 
  Uninstall MTEX

all the best David

--
If you want to reduce the number of emails you get through this forum login to https://groups.google.com/forum/?fromgroups=#!forum/mtexmail, click "My membership" and select "Don't send me email updates". You can still get emails on selected topics by staring them.
---
You received this message because you are subscribed to the Google Groups "MTEX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mtexmail+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/mtexmail.
For more options, visit https://groups.google.com/d/optout.

Haitao Zhao

unread,
Mar 26, 2014, 4:43:26 AM3/26/14
to mtex...@googlegroups.com
Hi Ralf,

Thank you very much for your updating. I've checked the new zip file and still cannot find the startup_mtex function. I am using a matlab 2012B on a windows XP system. Does this concerns with my MATLAB version or operating system?

Thank you very much for your time.

Best regards,
Haitao


在 2014年3月26日星期三UTC+8下午4时17分27秒,Ralf Hielscher写道:

Andy Parsons

unread,
Mar 26, 2014, 5:01:19 AM3/26/14
to mtex...@googlegroups.com
Thanks for trying this Ralph. I downloaded the new file but the startup_mtex.m, uninstall_mtex.m, install_mtex.m and update_mtex.m scripts arent there. I couldn't even find them in the unzipped file this time.

Cheers,
Andy


Ralf Hielscher

unread,
Mar 26, 2014, 9:22:14 AM3/26/14
to mtex...@googlegroups.com, ajpar...@googlemail.com
Hi all,

I can confirm this problem. I tried to pack it again and hope it works well know.

Ralf.

Fauzan Adziman

unread,
Mar 27, 2014, 5:01:50 AM3/27/14
to mtex...@googlegroups.com, ajpar...@googlemail.com
Dear Ralf,

I can confirm that the latest zipped file is working well.

I am using Matlab R2014a, I found a line in your startup_mtex.m might need to be altered to run the startup file smoothly, i.e. at startup_mtex.m line 120, instead of the current

addpath_recurse(fullfile(local_path,'help','doc','UsersGuide'));

I found from the structure of the file, it should be:

addpath_recurse(fullfile(local_path,'help','mtex'));

After the alteration, I tried to run few examples and they worked very well. 

Thank you very much,
Fauzan

@Oxford, UK 

Haitao Zhao

unread,
Mar 27, 2014, 7:44:22 AM3/27/14
to mtex...@googlegroups.com, ajpar...@googlemail.com
Hi Ralf,

Thank you very much for uploading the zip file. it works very good.

During program running, I found two possible problems with the MTEX:


(1) the number of calculated equivalent orientation

ss=symmetry('triclinic');            
cs=symmetry('cubic');                
euler1= 114.203;
euler2= 10.5288;
euler3= 204.203;             
or=orientation('euler',euler1*degree,euler2*degree,euler3*degree,cs,ss); 
symmetrise(or)

the result is 

ans = orientation (show methods, plot)
 size: 48 x 1
 crystal symmetry: cubic
 sample symmetry : triclinic

the number here is 48 instead of the normal 24 for cubic.

(2) set the orientation for ebsd data

 ebsdpagb(5).orientations
    orientation ('matrix',[1 0 0;0 1 0;0 0 1],cs)
    ebsdpagb(5).orientations=orientation ('matrix',[1 0 0;0 1 0;0 0 1],cs)
    ebsdpagb(5).orientations

the result is

ans = orientation (show methods, plot)
 size: 1 x 1
 crystal symmetry: steel (m-3m)
 sample symmetry : 1
 
  Bunge Euler angles in degree
     phi1     Phi    phi2    Inv.
  32.8992 80.0995 57.3989       0
 
 
 
ans = orientation (show methods, plot)
 size: 1 x 1
 crystal symmetry: cubic
 sample symmetry : 1
 
  Bunge Euler angles in degree
  phi1  Phi phi2 Inv.
     0    0    0    0
 
 
 
ebsdpagb = EBSD (show methods, plot)
 
 Phase  Orientations     Mineral       Color  Symmetry  Crystal reference frame
     0        275885  notIndexed                                               
     1          7630       steel  light blue      m-3m                         
 
 Properties: bands, bc, bs, error, mad, x, y, phaseId
 
 
ans = orientation (show methods, plot)
 size: 1 x 1
 crystal symmetry: steel (m-3m)
 sample symmetry : 1
 
  Bunge Euler angles in degree
     phi1     Phi    phi2    Inv.
  32.8992 80.0995 57.3989       

the orientation of ebsdpagb(5) still remain unchanged. It also happens when you want to change the phase information of EBSD data.





Hope you could help me figure out this.

Thank you very much for your time.

Best regards,
Haitao



















在 2014年3月26日星期三UTC+8下午9时22分14秒,Ralf Hielscher写道:

adam.cr...@gmail.com

unread,
Apr 18, 2014, 8:54:27 AM4/18/14
to mtex...@googlegroups.com
I ran into the following compilation error when trying to install mtex 4.0

-----------------------------------------

>> install_mtex
initialize MTEX 4.0.alpha1  ....Error using S1Grid
Cannot redefine class 'S1Grid' without a call to 'clear classes'.

Error in equispacedS2Grid (line 78)
    rho(j) = S1Grid(rh,bounds.FR{3},bounds.FR{4},'periodic'); %#ok<AGROW>

Error in check_installation>check_binaries (line 39)
[th,rh] = polar(equispacedS2Grid('points',10));

Error in check_installation (line 18)
check_binaries;

Error in startup_mtex (line 65)
check_installation;

Error in install_mtex (line 13)
  startup_mtex('noMenu')


-----------------------------------------

Running Matlab version R2013a (8.1.0.604) 64 bit (maci64) on mac OS 10.9.2.  It wasn't quite clear from the changelog if mtex 4.0 required Matlab 2014a, or still worked for prior versions. 

Thanks!

meng qu

unread,
Jun 12, 2014, 3:51:44 PM6/12/14
to mtex...@googlegroups.com

Hi Ralf,

I can't install mtex 4.0 successfully.

The error shows as follows: 
>> startup_mtex
initialize MTEX 4.0.alpha1  ..Undefined function 'setMTEXpref' for input arguments of type 'char'.

Error in startup_mtex (line 53)
setMTEXpref('mtexPath',local_path);

I'm using a MATLAB R2014a, and Windows 7 64bit system.

Cheers,
Mengmeng

Ralf Hielscher

unread,
Jul 6, 2014, 7:32:22 AM7/6/14
to mtex...@googlegroups.com, ajpar...@googlemail.com
Dear Haitao Zhao,

thank you for extensivly testing MTEX 4.0. 

(1) the number of calculated equivalent orientation

ss=symmetry('triclinic');            
cs=symmetry('cubic');                
euler1= 114.203;
euler2= 10.5288;
euler3= 204.203;             
or=orientation('euler',euler1*degree,euler2*degree,euler3*degree,cs,ss); 
symmetrise(or)

the result is 

ans = orientation (show methods, plot)
 size: 48 x 1
 crystal symmetry: cubic
 sample symmetry : triclinic

the number here is 48 instead of the normal 24 for cubic.


The point is that MTEX starting with version 4.0 will support all 32 point groups. In the present case the Laue group m-3m indeed contains 24 proper rotations + 24 improper rotations. What you are probably looking for is the point group 432 which consists only of 24 proper rotations. This surely has to be documented with more case. You may want try

plot(symmetry('m-3m'))
plot
(symmetry('432'))

to see the difference.
I can confirm this problem. I will fix this in the next beta.

Thank you again very much for testing MTEX 4.0. 

Ralf

 

Ralf Hielscher

unread,
Jul 6, 2014, 7:37:59 AM7/6/14
to mtex...@googlegroups.com
Dear Adam,

thank you for testing MTEX 4.0. MTEX 4.0 is supposed to run on earlier version as well. The contrary is true. MTEX 3.5 will not work on Matlab 2014b or later.

However, MTEX 4.0 is still under heavy development. I will inform you about the next beta which is probably much more worth testing.

All the best,

Ralf.

Ralf Hielscher

unread,
Jul 6, 2014, 7:43:00 AM7/6/14
to mtex...@googlegroups.com
Dear meng qu,

I'm bit puzzled with this error message. Maybe you have some blanks in your pathnames, e.g., "...\my documents\...."

Ralf.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages