Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Issue loading structs saved by Octave #8

@precsim

Description

@precsim

Saving a simple test struct created in Octave

a.b = 1;
save -v7 test.mat a

and loading with loadmat

loadmat('test.mat') 

returns the error

\temp\loadmat.py in read_struct_array(fd, endian, header)
    315     if field_name_length > 32:
    316         raise ParseError('Unexpected field name length: {}'.format(
--> 317                          field_name_length))
    318
    319     # read field names

ParseError: Unexpected field name length: 64

scalars work fine though, and importing structs from Matlab instead of Octave (as well as loading the test.mat file into Matlab).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions