Yes i am aware of direct read and write. My question is based on code that is already inbedded in the arduino. I would like to use matlab to analyse the outputs for the curremt code. Is this possible?
Is there a way to analyse your arduino "Code" through matlab?
2 次查看(过去 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
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
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Support Package for Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!