bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / io / matlab / _mio4 / VarReader4 / read_sub_array
function
scipy.io.matlab._mio4:VarReader4.read_sub_array
source: build-install/usr/lib/python3.14/site-packages/scipy/io/matlab/_mio4.py:160
Signature
def read_sub_array(self, hdr, copy = True)Summary
Mat4 read using header hdr dtype and dims
Parameters
hdr: objectobject with attributes
dtype,dims. dtype is assumed to be the correct endiannesscopy: bool, optionalcopies array before return if True (default True) (buffer is usually read only)
Returns
arr: ndarrayof dtype given by
hdrdtypeand shape given byhdrdims
Aliases
scipy.io.matlab._mio4.VarReader4.read_sub_array