bugGNU Octave - Bugs: bug #45706, Unable to load -v7.3 MAT-file...


bug #45706: Unable to load -v7.3 MAT-file containing cells

Submitted by:  Marco Caliari <caliari>
Submitted on:  Thu 06 Aug 2015 03:04:58 PM UTC  
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: 3.8.2Operating System: GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 29 Dec 2016 10:33:23 PM UTC, comment #5:

This behavior is still the same in Octave 4.2.0.

Hartmut <hardy>
Fri 07 Aug 2015 06:30:50 AM UTC, comment #4:

Hi Rik,

test73m.mat can be loaded without any problem. I knew that, and that is why I thought the problem in my original report was a bug or a compatibility issue, not a feature request.
test73c.mat cannot be loaded.

Why don't add a sentence like "MATLAB version 7.3 is not fully supported", just below -v7 option in load help?



Marco Caliari <caliari>
Project Member
Thu 06 Aug 2015 03:56:34 PM UTC, comment #3:

I'm not sure Octave supports '-v7.3' at all. The list of MAT-file formats is here http://www.mathworks.com/help/matlab/import_export/mat-file-versions.html. When I check Octave's own documentation for the load function with 'help load' I see that the latest is '-v7'. Trying this with your example file I get some more information.

Using the original syntax I get

There is some difference between scalars and arrays. Could you try creating a true cell array and seeing if it works?

And is it only cells, or is everything broken?

Rik <rik5>
Project Administrator
Thu 06 Aug 2015 03:44:15 PM UTC, comment #2:

Octave's load function is only expected to be able to read HDF5 files that are created by Octave's save function in HDF5 format. It is not expected to work for Matlab's new HDF5-based MAT file format, or any other arbitrary HDF5 files.

I've marked this as a feature request.

I bet this is also a duplicate of another report, but I haven't checked.

John W. Eaton <jwe>
Project Administrator
Thu 06 Aug 2015 03:05:33 PM UTC, comment #1:

The attachment...


(file #34580)

Marco Caliari <caliari>
Project Member
Thu 06 Aug 2015 03:04:58 PM UTC, original submission:

Dear all,

the attached file was created in Matlab with

If I try to load it in Octave 3.8.2 I get



Marco Caliari <caliari>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #34580:  test73.mat added by caliari (4KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by hardy (Posted a comment)
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by caliari (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 22 Dec 2015 02:56:09 PM UTCmtmillerCategoryNone=>Interpreter
    Thu 06 Aug 2015 03:56:34 PM UTCrik5Item GroupFeature Request=>Matlab Compatibility
    Thu 06 Aug 2015 03:44:15 PM UTCjweItem GroupMatlab Compatibility=>Feature Request
    Thu 06 Aug 2015 03:05:33 PM UTCcaliariAttached File-=>Added test73.mat, #34580

    Back to the top

    Powered by Savane 3.1-cleanup1