|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #42112] Unable to load Java objects from MAT file |
Date: | Thu, 24 Apr 2014 17:22:36 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 |
Follow-up Comment #4, bug #42112 (project octave): I'm glad to see that Matlab took a reasonable approach to this; Calling the Java Objects own serialization method makes a lot of sense. The function you probably want to modify is read_mat5_binary_element in ls-mat5.cc. Near the top of the file there is an enum declaration with the various CLASSTYPES in a Matlab file. In the function read_mat5_binary_element there is a case statement that keys off the CLASSTYPE. My guess is that there is a special class for Java objects, although they may have used the MAT_FILE_OBJECT_CLASS type which is for any class object. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?42112> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |