| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about 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 | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |