Be the first to rate this file! 207 Downloads (last 30 days) File Size: 522 KB File ID: #46775 Version: 1.3
image thumbnail

Arduino Serial Data Acquisition

by

Ye Cheng (view profile)

 

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

| Watch this File

File Information
Description

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. http://www.mathworks.com/help/simulink/ug/remotely-monitoring-and-controlling-an-application-on-arduino-hardware.html

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

Required Products Simulink
MATLAB
MATLAB release MATLAB 8.3 (R2014a)
Other requirements Arduino Simulink Support Package - Required: http://www.mathworks.com/hardware-support/arduino-simulink.html Instrument Control Toolbox™ - Optional (Required only for serial read in Simulink)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
10 Feb 2015 chfakht chfakht

hello,
When trying this on the arduino uno, I get the following error when I try to run on target hardware: CRL: “None” cannot be found in the registry.

Comment only
07 Jan 2015 Nishant

The program shows 'catch err' error on line number 9.That's the only error that comes up.Please help me fix this.Thank you.

Comment only
Updates
30 May 2014 1.3

Minor trademark adjustment.

Contact us