Main Content

caps

(To be removed) Joystick capabilities

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

Syntax

c = caps(joy)

Description

c = caps(joy) returns joystick capabilities, such as the number of axes, buttons, POVs, and force-feedback axes. The return value is a structure with fields named Axes, Buttons, POVs, and Forces.

Input Arguments

expand all

Joystick, specified as a vrjoystick object.

Output Arguments

expand all

Joystick capabilities, returned as a structure.

Version History

Introduced in R2007b

collapse all

R2023b: To be removed

The caps 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.