MATLAB Answers

Live data recieving as alternative to fgets command

2 views (last 30 days)
fima v
fima v on 30 Jul 2020
Hello,i am using fgets command to manually get what was recieved from UART
i get a result after 10 seconds is there a way in matlab to see LIVE when char was recieved?
Thanks.
sObject=serial('COM4','BaudRate',115200,'TimeOut',10,'Terminator','LF')
revcieved=fgets(sObject)

  0 Comments

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!