MATLAB: Matlab application on Arduino board (standalone) without using SIMULINK

#matlab #arduino

Hi.
is it any way to program arduino board using Matlab script, and let the arduino board to run standalone?

Best Answer

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