Matlab application on Arduino board (standalone) without using SIMULINK

3 views (last 30 days)
Hi.
is it any way to program arduino board using Matlab script, and let the arduino board to run standalone?

Accepted Answer

Pavel Dey
Pavel Dey on 26 Nov 2019
Hi Halsey,
Yes you can program arduino board using a MATLAB script. You have to use a MATLAB Function Block to do that. The support started since R2019b. In R2019b three peripherals are supported - Analog input, Digitla IO and PWM. In R2020a, I2C and SPI is also in plan for support. Look into the documentation below.
Thanks
Pavel

More Answers (1)

Alexey D
Alexey D on 17 Feb 2020
Hi!
Is it possible to let the arduino board run standalone using just Matlab script, without transferring it first to Simulink? All these manipulations make programming much harder and more sophisticated.
Thank you

Community Treasure Hunt

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

Start Hunting!