Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.1 - Français

Change language to:
English - 日本語 - Português

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

Aide Scilab >> Lecture/Ecriture de fichiers binaires Matlab > matfile_varreadnext

matfile_varreadnext

Reads next variable in a Matlab V5 binary MAT-file.

Calling Sequence

[name[, value[, vartype]]] = matfile_varreadnext(fd)

Arguments

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.

Description

Reads next variable in a Matlab binary MAT-file opened by matfile_open.

See Also

Authors

  • V.C

Bibliography

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

<< matfile_open Lecture/Ecriture de fichiers binaires Matlab matfile_varwrite >>

Copyright (c) 2022-2024 (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:
Thu Mar 03 11:00:15 CET 2011