[Top][All Lists]

[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: Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13


                 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



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

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:


  Message sent via/by Savannah

reply via email to

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