i want to display serial data in matlab gui in real time.But when i use the function fread or fscanf the serial data is stored in a variable and the the entire data set is displayed together eg. 15443264325432454321457532474.
6 views (last 30 days)
Show older comments
My program is: s=serial('com1'); fopen(s);
a=fscanf(s);
str=sprintf('%d',a); set(handles.edit1,'string',str);
fclose(s);
1 Comment
Answers (0)
See Also
Categories
Find more on Large Files and Big Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!