Name

matfile_open — Opens a Matlab V5 binary MAT-file.

Calling Sequence

fd = matfile_open(filename[, mode])

Parameters

filename

String: the path of the file. Must contain only ANSI character.

mode

String: file access type ("r" by default).

  • "r": opens the file for reading.

  • "w": opens the file for writing.

fd

Real: file descriptor (-1 if opening failed).

Description

Opens a Matlab binary MAT-file for reading or writing data.

See Also

matfile_close , matfile_varreadnext , matfile_varwrite , matfile_listvar

Authors

V.C

Bibliography

This function uses MATIO library (http://sourceforge.net/projects/matio/).