This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Servo Motors

Read and write to servo motors connected to Arduino® hardware

Create an Arduino object using arduino before you use servo functions. See Connect to Arduino Hardware for more information.

Functions

servoConnection to servo motor on Arduino hardware
readPositionRead servo motor position
writePositionWrite position of servo motor

Topics

Rotate a Servo Motor

Learn how to rotate a servo motor using MATLAB® commands.

Control Servo Motors

This example shows how to use the MATLAB® Support Package for Arduino® Hardware to control a hobby servo motor.

Servo Motors

Learn about servo motors.