Are there other serial function to do this?

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일

0 개 추천

If you are using a serial() object then you can look at the BytesAvailable property of the object.

이 질문은 마감되었습니다.

제품

질문:

2015년 9월 24일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by