my_spinner

Custom spinner element that supports changes with arrow keys.

You are now following this Submission

Puts a buttonless spinner element into the current figure. The number in the spinner can be changed using the arrow-keys, with the magnitude of the change depending on the cursor position. This is helpful in tweaking a number in an input field.
Under the hood, this spinner element is an "edit" uicomponent with some special callbacks attached to the underlying Java element. The return value is the (Matlab) handle to this edit field. IMPORTANT: This function uses undocumented, and possibly unstable Matlab functionality. It was tested with with Matlab2016a.

Cite As

Martin Hoecker (2026). my_spinner (https://au.mathworks.com/matlabcentral/fileexchange/58243-my_spinner), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0