[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59591] Error when saving a MAT file with -v6
From: |
Guillaume |
Subject: |
[Octave-bug-tracker] [bug #59591] Error when saving a MAT file with -v6 |
Date: |
Tue, 1 Dec 2020 17:59:48 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
URL:
<https://savannah.gnu.org/bugs/?59591>
Summary: Error when saving a MAT file with -v6
Project: GNU Octave
Submitted by: gyom
Submitted on: Tue 01 Dec 2020 10:59:47 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name: Guillaume
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
If I'm not mistaken, the following code creates a corrupted MAT-file with
current dev. It works fine with 5.2 or 6.1.
@myclass/myclass.m
function a = myclass ()
a = struct ('a', 'xx');
a = class (a, 'myclass');
@myclass/loadobj.m
function a = loadobj (a)
a.a = myclass ();
a.b = '';
save test.mat a -v6
load test.mat
load: invalid element type = 48
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59591>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #59591] Error when saving a MAT file with -v6,
Guillaume <=