Rank: 3409 based on 27 downloads (last 30 days) and 2 files submitted
Personal Profile:

http://www.linkedin.com/in/mlwhitaker

Professional Interests:
Image Processing, Medical Imaging

 

Watch this Author's files

 

Files Posted by Matthew View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
21 Jun 2011 Screenshot ButtonGroup Objects Container objects to manage radio or toggle buttons with functionality of the GUI Layout Toolbox Author: Matthew Whitaker uibuttongroup, layouts, gui 23 4
13 Nov 2007 makeLineHighlightable Makes lines or line children of axes highlightable Author: Matthew Whitaker data exploration, gui, utility, highlightable, line, children 4 5
  • 4.66667
4.7 | 3 ratings
Comments and Ratings by Matthew View all
Updated File Comments Rating
06 Apr 2011 blurFigure - blurs and prevents interaction on a figure window blurs a specified figure window and prevents interaction with it until the figure is un-blurred Author: Yair Altman

Hi Yair,
Very nice utility. Why not add a parameter to allow the user to set the opacity instead of just fixing it at 0.8?
Matt W

11 Jun 2010 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Completely brilliant and easy to use. Extremely well documented. Hopefully this will become part of core MATLAB in the future.

The only trivial thing I have so far is that the layoutRoot function seems to be missing from the dowload

20 Nov 2008 PropListener - add a callback to property value get/set event Attach a listener callback to a property value get/set event(s) Author: Yair Altman

Once again Yair saves a lot of frustration with his instructive and well written code. Until I get R2008 up this function nicely does the trick.

In my case coordinating the 'EdgeColo'r of a patch and a line's 'Color' property. Something linkprop can't do.

Comments and Ratings on Matthew's Files View all
Updated File Comment by Comments Rating
28 Jan 2014 ButtonGroup Objects Container objects to manage radio or toggle buttons with functionality of the GUI Layout Toolbox Author: Matthew Whitaker Chu, Clayton

Is there a way you could extend this capability to do something like uiextras.ButtonGrid? This way we could lay out radio buttons in a grid fashion. Great work!

09 Apr 2013 ButtonGroup Objects Container objects to manage radio or toggle buttons with functionality of the GUI Layout Toolbox Author: Matthew Whitaker Markus

Hi again,

fixed it by replacing line 50 in HButtonGroup and also VButtonGroup

if isa(evt.Child,'uicontrol')

with this line:

if ishandle(evt.Child)

So, only check for a valid graphics object handle instead of checking for class 'uicontrol'. I think this should be sufficient.
Obviously MATLAB's CLASS function returns 'double' in this case and hence the added object is not controlled by the ButtonGroup leading to the error described in my previous posting.

Hope this helps someone else...

Cheers.

20 Dec 2012 ButtonGroup Objects Container objects to manage radio or toggle buttons with functionality of the GUI Layout Toolbox Author: Matthew Whitaker Inaki

Hi,
I installed this files in the +uiextras folder. I try to run your example.
f = figure;
vb = uiextras.VBox('Parent',f,'Units','Normalized');
bgH = uiextras.HButtonGroup('Parent',vb,'Buttons',{'1','2','3'},'Spacing',50,'Padding',10,'SelectedChild',1,'SelectionChangeFcn',@onSelectionChange);

After the third line I get an error:
Undefined variable "uiextras" or class "uiextras.ButtonGroup".

I have Gui Toolbox running correctly. Any Ideas? thanks

13 Jul 2011 ButtonGroup Objects Container objects to manage radio or toggle buttons with functionality of the GUI Layout Toolbox Author: Matthew Whitaker Harrison, Henry

Thanks for this, Matthew. One question though. There may be an issue with maintaining the 'Enable' setting of the children. In my GUI I have a toolbar, and some tools are only available in certain situations. Setting the children's 'Enable' state works fine, until I select a tool, at which point all disabed buttons become enabled.

There is an easy workaround, of course, to re-disable the disabled buttons at the end of the callback function. However I though I would bring the issue to your attention.

16 Jan 2008 makeLineHighlightable Makes lines or line children of axes highlightable Author: Matthew Whitaker QUEFFURUSt, Aurélien

Great job! It works perfectly with the current release (R2007b).

Contact us