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.


Measure rotational speed around the X, Y, and Z axes in rad/s


Measure rotational speed around the X, Y, and Z axes in rad/s.

The block outputs a 1–by-3 vector of single—precision values.

For any positive axis on the device, clockwise rotation outputs negative values, and counterclockwise rotation outputs positive values.

The following illustration shows the orientation of the positive X, Y, and Z axes for the Apple iOS device.

During simulations, this block outputs zeros. See Block Produces Zeros or Does Nothing in Simulation (Simulink).

Dialog Box

Sample time

Specify how often the block reads the sensor.

Smaller values require the processor to complete the same number of instructions in less time, which can cause task overruns.

Introduced in R2015a