Matlab Arduino – Setup a serial communication [Quick]

Tag: , , , |

Updated on Jan 2017! In this quick post we will write a Matlab script and a Arduino sketch to read and write serial commands. Arduino side This sketch is really simple, we will initialize the serial port with 9600 as baudrate in the setup() then call the serialRoutine() function in the main loop. The