<< save_format Arquivos : funções de Entrada/Saída scanf_conversion >>

Ajuda Scilab >> Arquivos : funções de Entrada/Saída > scanf

scanf

Converts formatted input on standard input

Calling Sequence

[v_1,...v_n]=scanf (format);

Arguments

format

Specifies the format conversion.

Description

The scanf functions get character data on standard input (%io(1)), interpret it according to a format, and returns the converted results.

The format parameter contains conversion specifications used to interpret the input.

The format parameter can contain white-space characters (blanks, tabs, newline, or formfeed) that, except in the following two cases, read the input up to the next nonwhite-space character. Unless there is a match in the control string, trailing white space (including a newline character) is not read.

See Also

<< save_format Arquivos : funções de Entrada/Saída scanf_conversion >>