Arduino
MATLAB
Programming an Arduino with MATLAB
Programming an Arduino with MATLAB
MATLAB is a high-end programming language, developed to assist and simplify the work of an engineer. One of the bigger advantages of using MATLAB for Arduino programming is the wide library of MATLABs pre-programmed math functions, where you can perform advanced mathematics.
a = arduino('COM6', 'Uno', 'Libraries', 'Servo');
for i = 1 : 10
writeDigitalPin (a, ' D13 ', 0)
pause(1)
writeDigitalPin (a, ' D13 ', 1)
pause(1)
end