data=read(s);
Try using read function which has option to read how many data samples you want at a time. It also allows to read all data input at once, which is something you want.
data=read(s);
Try using read function which has option to read how many data samples you want at a time. It also allows to read all data input at once, which is something you want.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!