caps has been removed. 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.