Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.0 - Português

Change language to:
English - Français - 日本語 - Русский

Please note that the recommended version of Scilab is 2023.1.0. This page might be outdated.
See the recommended documentation of this function

Ajuda Scilab >> Entrada/Saída de Arquivos Matlab Binários > matfile_open


Opens a Matlab V5 binary MAT-file.

Calling Sequence

fd = matfile_open(filename[, mode])



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


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

  • "r": opens the file for reading.

  • "w": opens the file for writing.


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


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

See Also


This function uses MATIO library ( ).

Report an issue
<< matfile_listvar Entrada/Saída de Arquivos Matlab Binários matfile_varreadnext >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Oct 01 17:39:55 CEST 2012