Python API¶
This section includes information for using the pure Python API of
bob.io.matlab
.
-
bob.io.matlab.
read_matrix
(path[, 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()
-
bob.io.matlab.
read_varnames
(path) → list¶ Returns the list of variable names stored in the given Matlab(R) file.