Info

此问题已关闭。 请重新打开它进行编辑或回答。

Are there other serial function to do this?

1 次查看(过去 30 天)
Set Rubio
Set Rubio 2015-9-24
关闭: MATLAB Answer Bot 2021-8-20
Hello. Are there some way to know if there are something in the serial input buffer without read it? In other words, without using the fscanf (serial) function. Thanks in advance.

回答(1 个)

Walter Roberson
Walter Roberson 2015-9-24
If you are using a serial() object then you can look at the BytesAvailable property of the object.

此问题已关闭。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by