my_spinner

Custom spinner element that supports changes with arrow keys.
30 Downloads
Updated 14 Jul 2016

View License

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 (2024). my_spinner (https://www.mathworks.com/matlabcentral/fileexchange/58243-my_spinner), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Visual Exploration in Help Center and MATLAB Answers
Tags Add Tags
gui

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0