| MATLAB® | ![]() |
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.
Read only | Never |
Data type | String |
Name is automatically defined when the serial port object is created.
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
![]() | InputBufferSize | ObjectVisibility | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |