Borrar filtros
Borrar filtros

matlab serial communication buffer

3 visualizaciones (últimos 30 días)
Prashant Funde
Prashant Funde el 15 de Jun. de 2016
Respondida: Walter Roberson el 15 de Jun. de 2016
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

Respuestas (1)

Walter Roberson
Walter Roberson el 15 de Jun. de 2016
You can tell fread() how many items you want to read.

Categorías

Más información sobre Data Acquisition Toolbox Supported Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by