sprintfΒΆ

sprintf returns data in formatted form as a string.

ssBuffer = sprintf(ssFormat, arg1, ...)

Parameters

ssBuffer

ssBuffer is a scalar string containing the result of the conversion.

ssFormat

ssFormat is a scalar string with embedded formatting symbols. It specifies how the arguements arg1 to argn are formatted. The parameter is described in the function printf.

id-1326575