Instrument-control Toolkit - @octave_serialport/fprintf
- Function File: 
numbytes =fprintf(obj, template ...) Writes formatted string template using optional parameters to serialport instrument
Inputs
obj is a serialport object.
template Format template stringOutputs
numbytes - number of bytes written to the serial device.