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

MatFileReader cannot read 7.3 .mat files #5

Open
kartha01 opened this issue May 26, 2017 · 0 comments
Open

MatFileReader cannot read 7.3 .mat files #5

kartha01 opened this issue May 26, 2017 · 0 comments

Comments

@kartha01
Copy link

kartha01 commented May 26, 2017

Hi,

Read a blog post about using .mat file in Scala:
http://blog.madhukaraphatak.com/matfile-to-rdd/

I know the util only supports 5.0 version but was curious to try the newer one. When I try to read a 7.3 .mat file and I am getting the following error:

Name: com.jmatio.io.MatlabIOException
Message: This is not a valid MATLAB 5.0 MAT-file.
StackTrace: com.jmatio.io.MatFileReader.readHeader(MatFileReader.java:1028)

Any thoughts/workarounds with this jmatio?
I suppose reading the HDF5 files directly via Java/Scala would be the alternative.

Thanks,
Rajesh

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

1 participant