fprintfΒΆ

fprintf formats and prints a series of characters and values into a file.

rsNChars = fprintf(fh, ssFormat, arg1, ...)

Return Value

rsNChars

Parameters

fh

fh is a file handle created by calling the fopen function.

ssFormat

ssFormat is a scalar string with embedded format specifications that determine the output format for the arguments. See printf for a complete description of format specification.

id-343535