Live data recieving as alternative to fgets command

2 views (last 30 days)
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)

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!