Matlab GUI and Arduino code running together ?

2 次查看(过去 30 天)
Hello.
I am wondering something about the way I can control motors via an Arduino.
I wrote a code where I send PWM signal to a port, in order to control a BL motor (via its ESC).
I was wondering if it was possible, at the same time, that the Arduino reads analog values from a sensor and sends it back to Matlab ?
Basically, can Matlab control an Arduino while the Arduino has its own code running at the same time, measuring values ?
Thank you

回答(1 个)

Ashutosh Prasad
Ashutosh Prasad 2019-1-16
  2 个评论
Boris Huljak
Boris Huljak 2019-1-16
Thank you for the videos.
The thing is, in those videos, only Matlab is used. I was wondering if it was possible to use Matlab while a code is running on the Arduino (via the Arduino IDE) .
Thank you.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by