Skip to content

MTEX 6.0.0. zip download contains extra file #2367

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

Open
gcapes opened this issue May 19, 2025 · 4 comments
Open

MTEX 6.0.0. zip download contains extra file #2367

gcapes opened this issue May 19, 2025 · 4 comments

Comments

@gcapes
Copy link
Contributor

gcapes commented May 19, 2025

What do you want to do?
Compile the toolbox

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

MATLAB code '/mnt/iusers01/support/mbexegc2/mtex/6.0.0/EBSDAnalysis/@grainBoundary/load.m' contains the following syntax error(s):
Line 23 column 6 : Parse error at <EOL>: usage might be invalid MATLAB syntax.

What MTEX version do you use?
6.0.0 from the zip download.

This file EBSDAnalysis/@grainBoundary/load.m doesn't exist in the repo, at least not at the 6.0.0 tag nor on develop. The compiler is correct there is a syntax error, but it seems the contents of the zip file don't exactly match the files in the repo.

Could you please fix the download?
Thanks

@kilir
Copy link
Contributor

kilir commented May 19, 2025

Hi,
what exactly do you mean by "compile the toolbox"? You mean building the .mex files?
Cheers,
Rüdiger

@gcapes
Copy link
Contributor Author

gcapes commented May 19, 2025

I mean compile a MATLAB script using mcc that calls an MTEX function. The resulting exe could then be run without a MATLAB license.

The point is that there looks to be an extra file in the zip file download that isn't part of the repo, and that file contains errors.

If I clone the repo instead, and compile, the error (and file which contains the error) are gone.

@ralfHielscher
Copy link
Member

Hi,
sorry for the issue. The function is work in progress. You can safely delete it.
Ralf.

@gcapes
Copy link
Contributor Author

gcapes commented May 20, 2025

Thanks @ralfHielscher - I was wondering if it's possible to update the zip file so that others don't run into the same problem? I'm confused as to how it got there because in my limited experience with releases github automatically made the download from the contents of the repo, yet this file isn't in the repo?

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

3 participants