필터 지우기
필터 지우기

matlab serial communication buffer

조회 수: 3 (최근 30일)
Prashant Funde
Prashant Funde 2016년 6월 15일
답변: Walter Roberson 2016년 6월 15일
Hello sir,
I wanted to take output data continuously from my serial communication. even 48k buzzer size is also not enough for me.
Now i am using
Rcvd = fread(serial)
is it possible to use
Rcvd = fread(serial)% for first 512 bytes of data
Rcvd1 = fread(serial)% for next 512 bytes of data(513 to 1024)?
then clear one after another buffer

답변 (1개)

Walter Roberson
Walter Roberson 2016년 6월 15일
You can tell fread() how many items you want to read.

카테고리

Help CenterFile Exchange에서 Data Acquisition Toolbox Supported Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by