I try to use the library to access variables exported from matlab, but I get the an exception when the .mat file is read. (The exception is found towards the end of this message)
I output the .mat file from Matlab 7.7.0 with the option -v6 which, according to the mathworks website, is the same as v5, which is the one supported.
Do you have any idea?
thank you
odyss...
the exception:
Exception in thread "main" com.jmatio.io.MatlabIOException: Incorrect matlab array class: opaque
at com.jmatio.io.MatFileReader.readMatrix(MatFileReader.java:464)
at com.jmatio.io.MatFileReader.readData(MatFileReader.java:262)
at com.jmatio.io.MatFileReader.<init>(MatFileReader.java:133)
at com.jmatio.io.MatFileReader.<init>(MatFileReader.java:105)
...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem is that in the mat file there are stored java object. This is not supported by the tool. Thanks to Wojciech Gradkowski for clarifying the point to me.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I try to use the library to access variables exported from matlab, but I get the an exception when the .mat file is read. (The exception is found towards the end of this message)
I output the .mat file from Matlab 7.7.0 with the option -v6 which, according to the mathworks website, is the same as v5, which is the one supported.
Do you have any idea?
thank you
odyss...
the exception:
Exception in thread "main" com.jmatio.io.MatlabIOException: Incorrect matlab array class: opaque
at com.jmatio.io.MatFileReader.readMatrix(MatFileReader.java:464)
at com.jmatio.io.MatFileReader.readData(MatFileReader.java:262)
at com.jmatio.io.MatFileReader.<init>(MatFileReader.java:133)
at com.jmatio.io.MatFileReader.<init>(MatFileReader.java:105)
...
The problem is that in the mat file there are stored java object. This is not supported by the tool. Thanks to Wojciech Gradkowski for clarifying the point to me.