Skip to content

Option to avoid MCOS parsing #219

@matthijscox

Description

@matthijscox

Given that the Matlab Class Object System (MCOS) is undocumented and subject to change per MATLAB version, perhaps we should add the option to skip MCOS parsing to MAT.jl. We could then drop missing types in the output whenever we encounter MCOS types.

In that way people can at least read the other types in a mat file whenever an error occurs.

We have two options in my mind:

  • add some strategic try/catches in the subsystem code and output missings (and warnings)
  • provide an option to the user to skip every MCOS type: matread("test.mat"; skip_mcos=true)

I prefer the 2nd option, to encourage users to keep opening issues for future MATLAB versions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions