Skip to Main Content Skip to Search
Product Documentation

disp (serial) - Serial port object summary information

Syntax

obj
disp(obj)

Description

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

Tips

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

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

Examples

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

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


» Learn more
» Download free kit
» Get trial software

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS