Compute speed from rotor angular position
Motor Control Blockset / Sensor Decoders
The Speed Measurement block calculates the angular speed from the angular position of the rotor by calculating the change in the angular position with respect to time.