Type indicates the type of the object.
automatically defined after the serial port object is created with
serial function. The
Type is always
This value is automatically defined when the serial port object is
Suppose you create a serial port object associated with the serial port COM1.
s = serial('COM1');
The value of the
Type property is
which is the object class.
s.Type ans = serial
You can also display the object class with the
Name Size Bytes Class s 1x1 644 serial object Grand total is 18 elements using 644 bytes