Python API

This section includes information for using the pure Python API of[source]

Returns a string containing the configuration information.[, varname]) → array

Reads the matlab matrix with the given varname from the given file.

Keyword arguments:

path, string

A string containing the path (relative or absolute) to the Matlab(R) file from which you wisht to read the matrix from.

varname, string (optional)

If this parameter is not specified, the first matrix will be returned. Otherwise, specify here one of the values returned by read_varnames() → list

Returns the list of variable names stored in the given Matlab(R) file.