Coding is one of the integral parts of the Robotics field. Arduino and MATLAB are the most common and powerful tools used for this purpose. If you are new to Arduino and MATLAB you may first look our tutorials on them, as this would mainly concentrate on interfacing them.
Interfacing is establishing a sort of connection between two things, in this case Arduino and MATLAB. A flow diagram would better explain this
So coding will be done in MATLAB and the instructions are communicated to Arduino first through serial communication and then to the system (Ex: a servo, led connected to pin 13 on Arduino, etc.). So, controlling the system with the help of MATLAB.
WHY TO INTERFACE ARDUINO AND MATLAB?
- MATLAB provides tools such as plotting functions, creating GUI’s, simulation and many more.
- Ease of access and handling tedious calculations.