writeread
Write command to serial port and read response
Description
writes the ASCII text response = writeread(device,command)command followed by the terminator to the specified
serial port device, then reads the ASCII text returned from the device and assigns it to
response. You can use this function to query an instrument connected to
the serial port. The function blocks MATLAB and waits until the command
and response are complete, or a timeout occurs.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2019b