bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / io / matlab / _mio4 / MatFile4Reader / __init__
function
scipy.io.matlab._mio4:MatFile4Reader.__init__
source: build-install/usr/lib/python3.14/site-packages/scipy/io/matlab/_mio4.py:318
Signature
def __init__(self, mat_stream, *args, **kwargs)Summary
Initialize matlab 4 file reader
Extended Summary
mat_stream
Object with file API, open for reading.
byte_order
None by default, implying byte order guessed from mat file. Otherwise can be one of ('native', '=', 'little', '<', 'BIG', '>').
mat_dtype
If True, return arrays in same dtype as would be loaded into MATLAB (instead of the dtype with which they are saved).
squeeze_me
Whether to squeeze unit matrix dimensions or not.
chars_as_strings
Whether to convert char arrays to string arrays.
matlab_compatible
Returns matrices as would be loaded by MATLAB (implies squeeze_me=False, chars_as_strings=False, mat_dtype=True, struct_as_record=True).
Aliases
scipy.io.matlab._mio.MatFile4Reader.__init__