https://nl.mathworks.com/help/matlab/supportpkg/arduinoio.writeposition.html
writePosition - Write position of servo motor - MATLAB
This MATLAB function writes the specified value to the specified servo on the Arduino hardware.
servo motorwritepositionmatlab