Arduino Serial Data Acquisition

Use serial communication to monitor live data from Arduino in MATLAB/Simulink

You are now following this Submission

Do you want to monitor live data from Arduino® in MATLAB® and Simulink®?
-You can do so easily with Simulink External Mode if you use Arduino Mega 2560 and Arduino Due (and Arduino Uno if you have R2016b or later).
What if you use Arduino Uno?
-This File Exchange download will help you do exactly that.
This submission contains three files:
-serialRunOnArduino.slx: Download this model onto your Arduino board so that it sends data to serial port
-serialRunOnPC.slx: Run this model locally on your PC to collect and plot serial data in Simulink
-readArduinoSerial.m: Run this script to read and plot serial data in MATLAB

Cite As

Ye Cheng (2026). Arduino Serial Data Acquisition (https://in.mathworks.com/matlabcentral/fileexchange/46775-arduino-serial-data-acquisition), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: LSP

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.3.0.3

Removed broken link

1.3.0.2

Minor link update in description. No change in file.

1.3.0.1

Updated license

1.3.0.0

Minor trademark adjustment.