PRINTF PRINTF Formated Output Function (C-Style) Usage Prints values to the output. The general syntax for its use is printf(format,a1,a2,...) Here format is the format string, which is a string that controls the format of the output. The values of the variables a_i are substituted into the output as required. It is an error if there are not enough variables to satisfy the format string. Note that this printf command is not vectorized! Each variable must be a scalar.