This figure illustrates MATLAB communicating with an instrument via serial port I/O hardware.