Before you can write or read data, both the serial port object and the instrument must have identical communication settings. Configuring serial port communications involves specifying values for properties that control the baud rate and the Serial Data Format. These properties are as follows.
Serial Port Communication Properties
Caution: If the serial port object and the instrument communication settings are not identical, you cannot successfully read or write data.
Refer to your instrument documentation for an explanation of its supported communication settings.
You can display the communication property values for the serial
s created in Serial Port Object .
ans =   'none'  'LF'
Note: To get a list of options you can use on a function, press the Tab key after entering a function on the MATLAB® command line. The list expands, and you can scroll to choose a property or value. For information about using this advanced tab completion feature, see Using Tab Completion for Functions.