| MATLAB® | ![]() |
Type indicates the type of the object. Type is automatically defined after the serial port object is created with the serial function. The Type value is always serial.
Read only | Always |
Data type | String |
Type is always serial. This value 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');
The value of the Type property is serial, which is the object class.
s.Type ans = serial
You can also display the object class with the whos command.
Name Size Bytes Class s 1x1 644 serial object Grand total is 18 elements using 644 bytes
![]() | TransferStatus | UserData | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |