fprintf — Emulator of C language fprintf function
fprintf(file,format,value_1,..,value_n)
a Scilab string. Specifies a character string combining literal characters with conversion specifications.
Specifies the data to be converted according to the format parameter.
column vector of character strings
a Scilab string specifying a file name or a logical unit number (see file
)
Note that is file=0, the message will be display on standard error stream (stderr).
Obsolete function, use preferabily the mfprintf function
which is much more compatible with the C fprintf
functionalities.
The fprintf
function converts, formats, and writes
its value
parameters, under control of the format
parameter, to the file specified by its file
parameter.
The format
parameter is a character string that contains two
types of objects:
which are copied to the output stream.
each of which causes zero or more items to be fetched from the value
parameter list. see printf_conversion for details
If any value
s remain after the entire format
has been
processed, they are ignored.