MATLAB® file utilities (scipy.io.matlab)#

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

MatlabObject

Subclass of ndarray to signal this is a matlab object.

MatlabOpaque

Subclass for a MATLAB opaque matrix.

MatlabFunction

Subclass for a MATLAB function.

The following utilities that live in the scipy.io namespace 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.