Main Content

pov

(To be removed) Read status of joystick point of view

pov will be removed in a future release. For more information, see Version History.

Syntax

p = pov(joy,n)

Description

p = pov(joy,n) reads the status of joystick point of view (POV) of axis number n.

Input Arguments

expand all

Joystick, specified as a vrjoystick object.

Axis number of joystick, specified as a scalar or a vector.

Output Arguments

expand all

Point of view, returned as a real scalar in degrees. When a value of -1 is no axis is selected.

Version History

Introduced in R2007b

collapse all

R2023b: To be removed

The pov will be removed in a future release. Instead, use sim3d classes and Simulation 3D blocks to interface MATLAB® and Simulink® with the Unreal Engine® 3D simulation environment. To get started, see Create 3D Simulations in Unreal Engine Environment.

See Also