Matlab GUI and Arduino code running together ?

39 views (last 30 days)
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

Answers (1)

Ashutosh Prasad
Ashutosh Prasad on 16 Jan 2019
  2 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by