A
A
Artyom Tkachuk2013-11-15 15:21:31
Arrays
Artyom Tkachuk, 2013-11-15 15:21:31

Entering data from com port in matlab

There is an arduino that sends information from the sensor to the com port every 100 ms. I want to smooth noise in matlab and build graphs. How to write a stream of data to an array? Or, even better, can it be done in realtime?
I know how to open the port, I get one value using fgets (s). I can’t figure out how to send several values ​​\u200b\u200bin an array. Please help.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question