octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #32641] Load of MAT-files that contain objects


From: Guillaume
Subject: [Octave-bug-tracker] [bug #32641] Load of MAT-files that contain objects
Date: Tue, 01 Mar 2011 18:46:07 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.13) Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13

URL:
  <http://savannah.gnu.org/bugs/?32641>

                 Summary: Load of MAT-files that contain objects
                 Project: GNU Octave
            Submitted by: gyom
            Submitted on: Tue 01 Mar 2011 18:46:06 GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

In MATLAB, when loading a MAT-file containing an object whose class in not in
the path, one gets the warning:


MATLAB:elementsNowStruc
Element(s) of class 'myclass' do not match the current constructor definition.
 The element(s) have been converted to structures.


while with Octave, one gets:


warning: no constructor for class myclass


and, importantly, the variable is still an object of class myclass (in MATLAB,
it is a simple struct as expected).

Could an automatic conversion to a structure be implemented in such case?




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?32641>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]