Reading Serial Monitor Data and Inputting into MatLab

I am trying to take 3 pressure sensor data readings then input them into Matlab and plot the pressure variations against time on 3 separate lines on a time graph. Any help or guidance would be much appreciated. I understand that this wont work without physical Arduino but any ideas or theory will be appreciated.

Can Matlab accept a serial input ?

Plenty of examples for Matlab/Arduino serial communication are available on line. The search phase "Matlab Arduino serial" will find many of them.

Please do not post pictures of code or text. For posting hints, see the "How to get the best out of this forum" post, linked at the head of every forum category.

1 Like

Sure, Matlab can read any typical port. The plotting is not hard, but anyways instead of matlab I would rather use LabView if you can get a license. Bear in mind that in the arduino ide you can also plot traces from the serial port.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.