Rank: 8797 based on 0 downloads (last 30 days) and 0 file submitted
photo

DNF

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by DNF View all
Updated File Comments Rating
01 Jul 2010 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

A problem with the HButtonBox for aligning text is that the text control cannot be vertically aligned inside its own bounding box. So HButtonBox resizes the text uicontrol and then the text appears above its intended position.

Perhaps using a swing text control fixes this, but maybe it would be possible make something specifically for lining up text?

02 Feb 2010 Java-based data table Spreadsheet display/editing/sorting of data with multiple features Author: Yair Altman

I am liking this table more and more as my dislike for the built-in uitable increases.

One thing I have not been able to figure out: When I manually edit a table with numerical entries they are converted to strings. Aparently Java allows some sort of type checking that converts the strings back to numbers, but I cannot figure out how to accomplish this in Matlab. The only idea I have is setting a FocusLostCallback that does a str2num on the cell, but, firstly,
FocusLostCallback doesn't seem to be triggered when you navigate by keyboard, and secondly I do not seem to be able to set a cell value to a vector (e.g. [3,4]) which is what I really want.

20 Mar 2009 Java-based data table Spreadsheet display/editing/sorting of data with multiple features Author: Yair Altman

Very nice code. A couple of things:

As I mentioned above, it doesn't work easily with the new uitable, and I guess it isn't trivial to fix this. Possibly uitable should be called with the 'v0'-switch to avoid getting a warning each time.

I just found out the hard way that if the first element in my data cell array is empty, I get the error
"Error: Data must be a MATLAB cell array"
This seems to be a bug in uitable.m, not createTable
The fix I'm using is
if isempty(data{1}), data{1} = ' '; end % one whitespace

17 Mar 2009 Eigenshuffle Consistently sorted eigenvalue and eigenvector sequences Author: John D'Errico

If you check out the other ratings of this 'Xu Wings' you will see he has a thing in for D'Errico and possibly also Oliver Woodford. It seems possible that 'Xu Wings' is an alias for Shahab Anbarjafari.

16 Mar 2009 Java-based data table Spreadsheet display/editing/sorting of data with multiple features Author: Yair Altman

I guess there is a new version of uitable out (at least in R2008b), which causes a warning to be raised when using createTable:

"Warning: It appears you are using an obsolete version of uitable."

Is there any chance this function will be updated to take care of this?

Contact us