Reads next variable in a Matlab V5 binary MAT-file.
[name[, value[, vartype]]] = matfile_varreadnext(fd)
fd Real: | file descriptor (returned by matfile_open). |
---|
: :name String: name of the variable read or “” if reading failed. : :value Any Scilab type: value of the variable read or an empty
matrix if reading failed.
: :vartype Real: type of the variable if reading succeeds or:
- 0: if the variable type is unknown.
- -1: if end of file has been reached.
:
Reads next variable in a Matlab binary MAT-file opened by matfile_open.
This function uses MATIO library ( ``http://sourceforge.net/projects/matio/_ ).