Live data recieving as alternative to fgets command

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)

Antworten (0)

Kategorien

Mehr zu Vehicle Dynamics Blockset finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 30 Jul. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by