Is there a way to analyse your arduino "Code" through matlab?

1 view (last 30 days)
Michael Pawlowski
Michael Pawlowski on 21 Oct 2017
Meaning the code is uploaded to the arduino device using standard arduino software. Is there a way to interface to run that code through matlab to see its outputs?
  2 Comments
Madhu Govindarajan
Madhu Govindarajan on 26 Oct 2017
One way I can think of - Have your arduino code send out the outputs to the serial port. In MATLAB you can query serial ports using this function and its related functions - https://www.mathworks.com/help/matlab/ref/serial.html

Sign in to comment.

Answers (1)

Corey Silva
Corey Silva on 24 Oct 2017
You can use the MATLAB support package for Arduino. This will let you connect to and control Arduino inputs and outputs from MATLAB.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!