{ } Raw JSON

bundles / scipy latest / scipy / io / matlab / _mio5_utils / VarReader5 / read_opaque

cython_function_or_method

scipy.io.matlab._mio5_utils:VarReader5.read_opaque

Signature

def   read_opaque ( self hdr )

Summary

Read opaque (function workspace) type

Extended Summary

Looking at some mat files, the structure of this type seems to be:

  • array flags as usual (already read into hdr)

  • 3 int8 strings

  • a matrix

Then there's a matrix at the end of the mat file that seems have the anonymous founction workspaces - we load it as __function_workspace__

See the comments at the beginning of mio5.py

Aliases

  • scipy.io.matlab._mio5.VarReader5.read_opaque