Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Are there other serial function to do this?

1 view (last 30 days)
Set Rubio
Set Rubio on 24 Sep 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
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.

Answers (1)

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

This question is closed.

Products

Community Treasure Hunt

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

Start Hunting!