<< listvarinfile Arquivos : funções de Entrada/Saída mclose >>

Scilab Help >> Arquivos : funções de Entrada/Saída > mclearerr

mclearerr

resets binary file access errors

Syntax

flag = mclearerr([fd])

Arguments

fd

a scalar: the fd parameter returned by the function mopen. -1 stands for last opened file. Default value is -1.

flag

a boolean: %T if fd points to a valid file identifier and %F else.

Description

The function mclearerr is used to reset the error indicator and EOF indicator to zero.

See also

History

VersionDescription
6.0.0 A flag indicating the file identifier validity is now returned.

Report an issue
<< listvarinfile Arquivos : funções de Entrada/Saída mclose >>