MATLAB ヘルプ センター
Set serial DTR pin
setDTR(device,true)
setDTR(device,false)
setDTR(device,true) sets the specified serial data terminal ready (DTR) pin.
device
example
setDTR(device,false) resets the specified serial DTR pin.
collapse all
Set and then reset the serial DTR pin.
device = serialport("COM3",9600); ⋮ setDTR(device,true) ⋮ setDTR(device,false)
Set and then reset the serial DTR pin using the VISA-Serial interface.
device = visadev("COM3"); ⋮ setDTR(device,true) ⋮ setDTR(device,false)
serialport
visadev
Serial port, specified as a serialport object or visadev object.
Example: setDTR(device,true) sets the DTR pin for the serial port connection device.
Example: setDTR(device,true) sets the DTR pin for the VISA-Serial resource device.
Introduced in R2019b
setRTS
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ