Contents

Name

Descriptive name for the serial port object

Description

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.

Characteristics

Read only

Never

Data type

String

Values

Name is automatically defined when the serial port object is created.

Example

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

See Also

Functions

serial

Was this topic helpful?