Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matlab2024a crashes using plotIPDF for ODF #2228

Open
MatejMachek opened this issue Sep 20, 2024 · 1 comment
Open

Matlab2024a crashes using plotIPDF for ODF #2228

MatejMachek opened this issue Sep 20, 2024 · 1 comment

Comments

@MatejMachek
Copy link

MatejMachek commented Sep 20, 2024

Hi
when I try to plot inverse pole figure form ODF data using mtex-5.11.2 Matlab2024a crushes even if i used the code provided in documentation or using odf.mat provided with mtex download.

cs = crystalSymmetry('32');
mod1 = orientation.byEuler(90degree,40degree,110degree,'ZYZ',cs);
mod2 = orientation.byEuler(50
degree,30degree,-30degree,'ZYZ',cs);

odf = 0.2*unimodalODF(mod1) ...

  • 0.3*unimodalODF(mod2) ...
  • 0.5fibreODF(Miller(0,0,1,cs),vector3d(1,0,0),'halfwidth',10degree)

plotIPDF(odf,[xvector,zvector])

It says Illegal instruction detected.
matlab_crash_dump_4536-1.txt

Using mtex-5.11.2 in Matlab2024a on Windows 10 Pro

Matlab also crashes when trying to use functions: norm, calcMIndex, calcComponents and plotPDF for ODFs and calcDensity for EBSD

Thanks
Matej

@MatejMachek MatejMachek changed the title Matlab2024a crushes using plotIPDF for ODF Matlab2024a crashes using plotIPDF for ODF Sep 24, 2024
@ralfHielscher
Copy link
Member

Hi Matej,

could you simply try to reinstall MTEX? Sometimes windows has problems to correctly extract the zip archive.
The crash appears to happen in a precompiled binary. You can trigger this by running check_mex
If check_mex crashes this somehow indicates that have a very special system. Is this the case?

You can always try to compile the binaries on your own. But this is some additional effort.

Ralf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants