MATLAB® file utilities (scipy.io.matlab) — SciPy v1.15.2 Manual (original) (raw)
This submodule is meant to provide lower-level file utilities related to reading and writing MATLAB files.
matfile_version(file_name, *[, appendmat]) | Return major, minor tuple depending on apparent mat file type |
---|---|
MatReadError | Exception indicating a read issue. |
MatReadWarning | Warning class for read issues. |
MatWriteError | Exception indicating a write issue. |
mat_struct() | Placeholder for holding read data from structs. |
varmats_from_mat(file_obj) | Pull variables out of mat 5 file as a sequence of mat file objects |
The following utilities that live in the scipy.ionamespace also exist in this namespace:
loadmat(file_name[, mdict, appendmat, spmatrix]) | Load MATLAB file. |
---|---|
savemat(file_name, mdict[, appendmat, ...]) | Save a dictionary of names and arrays into a MATLAB-style .mat file. |
whosmat(file_name[, appendmat]) | List variables inside a MATLAB file. |
Notes#
MATLAB(R) is a registered trademark of The MathWorks, Inc., 3 Apple Hill Drive, Natick, MA 01760-2098, USA.