bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / io / matlab / _mio4 / VarWriter4 / write_header
function
scipy.io.matlab._mio4:VarWriter4.write_header
source: build-install/usr/lib/python3.14/site-packages/scipy/io/matlab/_mio4.py:472
Signature
def write_header(self, name, shape, P = 0, T = 0, imagf = 0)Summary
Write header for given data options
Parameters
name: strname of variable
shape: sequenceShape of array as it will be read in matlab
P: int, optionalcode for mat4 data type, one of
miDOUBLE, miSINGLE, miINT32, miINT16, miUINT16, miUINT8T: int, optionalcode for mat4 matrix class, one of
mxFULL_CLASS, mxCHAR_CLASS, mxSPARSE_CLASSimagf: int, optionalflag indicating complex
Aliases
scipy.io.matlab._mio4.VarWriter4.write_header