Rotary graphical user interface control
Updated 26 Jun 2008

View License

Creates a "dial"-style graphical user interface control.

Similar in operation and programming interface to Matlab's slider-style uicontrols, but moves in a rotary fashion, rather than linearly. Also different in that a dial control can take minimum and maximum values of -Inf and +Inf.

Install by putting "dial" directory on your Matlab path (do NOT add the "dial/@dial/" directory to your path).

Run the dial_demo.m program for examples of how to use dial.m.

Known bugs: dial objects sometimes very slow to appear and sluggish in response to user inputs. This seems random, and is apparently something internal to Matlab. Closing the figure and regenerating the dial object usually makes the problem go away.

Cite As

Kevin Bartlett (2024). dial (https://www.mathworks.com/matlabcentral/fileexchange/20431-dial), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Migrate GUIDE Apps in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!



Version Published Release Notes

bugfix: 2 uses of '==' instead of '=' (lines 886 and 908 in set() method). Also improved description with installation instructions and "known bugs".