mtex-toolbox / mtex

MTEX is a free Matlab toolbox for quantitative texture analysis. Homepage:
http://mtex-toolbox.github.io/
GNU General Public License v2.0
278 stars 183 forks source link

Switch to mtex-5.9.0 from mtex-5.8.2, unrecognized method ebsd.extent #1755

Closed matthigra closed 1 year ago

matthigra commented 1 year ago

Hello. Thanks for the mtex toolbox.

I started with mtex ~2 weeks ago, so I`m quite the beginner. I can find the extent(ebsd) function in C:...\mtex-5.9.0\EBSDAnalysis\@EBSD . For mtex-5.8.2 extend function is found but for mtex-5.9.0 the extend function cannot be found. What did I not consider?

What do you want to do? gridify ebsd data

What code do you use? Please provide minimalist code with code in the following form

ebsd_grid = gridify(ebsd);

What result do you get Crash Unrecognized method, property, or field 'extent' for class 'EBSD'.

What result do you expect Gridified EBSD data

Error Message If you get an error message copy and paste it below

Unrecognized method, property, or field 'extent' for class 'EBSD'.

What MTEX version do you use? mtex-5.9.0

ralfHielscher commented 1 year ago

Hi Matthigra,

unfortunately I can not reproduce your error. It is true that in MTEX 5.9 extend has been renamed to extent. However, we changed also the call in squarify / hexify. Could be please provide the full error message. Also please check that the right functions has been called.

Ralf.

matthigra commented 1 year ago

Oh boy. I'm sorry Ralf, I'm an idiot. image

I'm running a GUI which gives the ebsd object into a function which I was debugging. So the GUI always gave me a mtex-5.8.2 ebsd object which knew nothing about the new extent method.

Works now after letting the GUI get the mtex-5.9.0 ebsd object.