Can anyone kindly take a look at look my following errors. What should I do to get this to work please?
Index exceeds matrix dimensions.
Error in real_time_data_plot (line 34)
serialObject = serial(serialPort);
Great code, nice and neat. Just wondering if you know whether you can run this concurrently with other processes, say, in a GUI? I want to have this logging every few seconds and in between, pass control back to allow other processes to run.
Thank you very much for sharing this with us. I'm trying to read in sonar data via UART continuously over the serial port. I am having speed issues, however, after a certain amount of time.
Would you happen to know if this is a buffer issue? There doesn't seem to be any active cleaning as count increases. I tried a quick fix to reset count back to 1 after 200 iterations which does update correctly but the speed issue still persists.
Any insight would be greatly appreciated!