Man Scilab

printf
Scilab Function

printf - Emulator of C language printf function

Calling Sequence

printf(format,value_1,..,value_n)

Parameters

Description

The printf function converts, formats, and writes its value parameters, under control of the format parameter, to the standard output.

The format parameter is a character string that contains two types of objects:

Literal characters : which are copied to the output stream.
Conversion specifications : 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.

Examples


printf('Result is:\nalpha=%f",0.535)
 
  

See Also

string ,   print ,   write ,   format ,   disp ,   file ,   fprintf ,   sprintf ,  

Back