numbytes = fprintf (obj, template ...) ¶Writes formatted string template using optional parameters to serialport instrument
obj is a serialport object.
template Format template string
numbytes - number of bytes written to the serial device.
Package: instrument-control