Code covered by the BSD License  

Highlights from
dial

4.66667

4.7 | 3 ratings Rate this file 5 Downloads (last 30 days) File Size: 32.55 KB File ID: #20431
image thumbnail

dial

by Kevin Bartlett

 

24 Jun 2008 (Updated 26 Jun 2008)

Rotary graphical user interface control

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.6 (R2008a)
Other requirements Object-oriented features of Matlab R2008a and above are required. Code is not highly optimised; may cause sluggish performance on older computers...
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
26 Jun 2008 Dimitri Shvorob

Works great, but 2000 lines of code (!) and 45 MLINT messages suggest a scope for improvement.

21 Dec 2009 Tim  
10 May 2011 Yu Ang Tan  
05 Sep 2011 Mahmudul Hassan  
Please login to add a comment or rating.
Updates
26 Jun 2008

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

26 Jun 2008

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

Tag Activity for this File
Tag Applied By Date/Time
gui tools Kevin Bartlett 22 Oct 2008 10:07:14
example Kevin Bartlett 22 Oct 2008 10:07:14
uicontrol rotary gui graphical user interface Kevin Bartlett 22 Oct 2008 10:07:14
example Gruhita 30 Apr 2010 01:53:00

Contact us at files@mathworks.com