rotation = readRotation(mymotor)
reads the total amount of rotation since the creation of the connection to the
motor, and returns the measurement in degrees. You can use the
resetRotation function to reset this value to zero.
Rotation of motor in degrees, returned as an int32 value. Creating
a connection to a motor initializes this value to zero. To reset this
value to zero, use resetRotation.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.