Menu

opaque array class

Help
Odyss...
2009-07-17
2012-12-04
  • Odyss...

    Odyss... - 2009-07-17

    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)
    ...

     
    • Odyss...

      Odyss... - 2009-07-20

      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.

       

Log in to post a comment.