Save a dictionary of names and arrays into a MATLAB-style .mat file.
This saves the array objects in the given dictionary to a MATLAB- style .mat file.
Parameters : | file_name : str or file-like object
m_dict : dict
appendmat : bool, optional
format : {‘5’, ‘4’}, string, optional
long_field_names : bool, optional
do_compression : bool, optional
oned_as : {‘column’, ‘row’}, optional
|
---|
See also
mio4.MatFile4Writer, mio5.MatFile5Writer
Notes
If format == '4', mio4.MatFile4Writer is called, which sets oned_as to ‘row’ if it had been None. If format == '5', mio5.MatFile5Writer is called, which sets oned_as to ‘column’ if it had been None, but first it executes:
without being more specific as to precisely when the change will take place.