This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

disp (serial)

Serial port object summary information




obj or disp(obj) displays summary information for obj, a serial port object or an array of serial port objects.


The following commands display summary information for the serial port object s. on a Windows® platform

s = serial('COM1')
s.BaudRate = 300


In addition to the syntax shown above, you can display summary information for obj by excluding the semicolon when:

  • Creating a serial port object

  • Configuring property values using the dot notation

Use the display summary to quickly view the communication settings, communication state information, and information associated with read and write operations.

Introduced before R2006a