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.

Examples

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

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

More About

collapse all

Tips

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

Was this topic helpful?