1
scanf Scilab Group Scilab Function scanf
3
scanf - Converts formatted input on standard input
6
[v_1,...v_n]=scanf (format);
8
format :Specifies the format conversion.
11
The scanf functions get character data on standard input (%io(1)),
12
interpret it according to a format, and returns the converted results.
14
The format parameter contains conversion specifications used to interpret
17
The format parameter can contain white-space characters (blanks, tabs,
18
newline, or formfeed) that, except in the following two cases, read the
19
input up to the next nonwhite-space character. Unless there is a match in
20
the control string, trailing white space (including a newline character)
23
- Any character except % (percent sign), which must match the next
24
character of the input stream.
26
- A conversion specification that directs the conversion of the next
27
input field. see scanf_conversion for details.
30
printf, read, fscanf, sscanf