Descriptive name for the serial port object
You configure Name to be a descriptive name for the serial port object.
When you create a serial port object, a descriptive name is automatically generated and stored in Name. This name is given by concatenating the word "Serial" with the serial port specified in the serial function. However, you can change the value of Name at any time.
The serial port is given by the Port property. If you modify this property value, then Name is automatically updated to reflect that change.
Suppose you create a serial port object associated with the serial port COM1.
s = serial('COM1');
s is automatically assigned a descriptive name.
s.Name ans = Serial-COM1