readPosition
R2026bRead servo motor position
Description
Add-On Required: This feature requires the MATLAB Support Package for Arduino Hardware add-on.
Examples
Input Arguments
Output Arguments
Alternative Functionality
App
Use the Arduino Explorer to interactively configure servo motors and read the shaft position of the servo motor connected to Arduino or any other supported hardware in MATLAB® and MATLAB Online™.
Version History
Introduced in R2014b