Clear Filters
Clear Filters

Matlab GUI and Arduino code running together ?

4 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
Boris Huljak
Boris Huljak on 16 Jan 2019
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.

Sign in to comment.

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!