matlab serial communication buffer
Mostra commenti meno recenti
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
Risposte (1)
Walter Roberson
il 15 Giu 2016
0 voti
You can tell fread() how many items you want to read.
Categorie
Scopri di più su Data Acquisition Toolbox in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!