How to read variable buffersize every second ?

1 view (last 30 days)
i want to read the bytesavailable inside the serialport buffer every second. The bytes can vary, so i can't use a specific number of bytes to read.
Is there a possible solution for this task ?

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by