Serialport set empty terminator

4 ビュー (過去 30 日間)
Tom van den Broek
Tom van den Broek 2021 年 5 月 17 日
編集済み: Tom van den Broek 2021 年 5 月 17 日
So I need to set the read terminator to CR and the write terminator to nothing.
However the new serialport object does not allow an empty terminator. How do I set it correctly?
s1 = serialport("COM1",9600, "Timeout",3);
configureTerminator(s1, 'CR', '');
Thanks,
Tom

回答 (0 件)

カテゴリ

Help Center および File ExchangeSerial and USB Communication についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by