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

조회 수: 1(최근 30일)
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
Madhu Govindarajan
Madhu Govindarajan 2017년 10월 26일
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

댓글을 달려면 로그인하십시오.

답변(1개)

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by