Rank: 3964 based on 24 downloads (last 30 days) and 2 files submitted
photo

Matthew Whitaker

E-mail
Lat/Long
38.90316390991211, -104.8558197021484

Personal Profile:

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


 

Watch this Author's files

 

Files Posted by Matthew Whitaker 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 19 6
  • 4.0
4.0 | 2 ratings
13 Nov 2007 makeLineHighlightable Makes lines or line children of axes highlightable Author: Matthew Whitaker data exploration, gui, utility, highlightable, line, children 5 5
  • 4.66667
4.7 | 3 ratings
Comments and Ratings by Matthew Whitaker 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 Whitaker's Files View all
Updated File Comment by Comments Rating
12 Dec 2014 ButtonGroup Objects Container objects to manage radio or toggle buttons with functionality of the GUI Layout Toolbox Author: Matthew Whitaker Clayton Chu

The proposed corrections for R2014b compatibility are a good start, but more corrections need to be done. Right now, my radio buttons act as toggles, which is quite odd. Any idea on how to fix this???

14 Nov 2014 ButtonGroup Objects Container objects to manage radio or toggle buttons with functionality of the GUI Layout Toolbox Author: Matthew Whitaker Sidath

22 Oct 2014 ButtonGroup Objects Container objects to manage radio or toggle buttons with functionality of the GUI Layout Toolbox Author: Matthew Whitaker Roger GALLOU

Hi there,

Here some corrections to do for R2014b.
In the classe ButtonGroup, objet.GroupHandles could be empty in release R2014b. Maybe, there are others maners to do it, but here one :

So since line 81, you can replace following reference about "obj.GroupHandles" by :

gChildObj = allchild(obj);
numChild = numel(gChildObj); % OLD numel(obj.GroupHandles);
if val > numChild;
error('uiextras:ButtonGroup:InvalidSelectedChild',...
'The selected child value %d exceeds the number of controlled children: %d',...
val,numChild);
end %if

groupIdx = 1:numChild;
if ~isempty(groupIdx)
groupIdx(val) = [];
if ~isempty(groupIdx)
% OLD set(obj.GroupHandles(groupIdx),'Value',0,'Enable','on');
set(gChildObj(groupIdx),'Value',0,'Enable','on');
end %if
% OLD set(obj.GroupHandles(val),'Value',1,'Enable','inactive');
set(gChildObj(val),'Value',1,'Enable','inactive');
obj.SelectedChild_ = val;
end %if

28 Jan 2014 ButtonGroup Objects Container objects to manage radio or toggle buttons with functionality of the GUI Layout Toolbox Author: Matthew Whitaker Clayton Chu

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.

Contact us