Comments on: Tables in MATLAB with uitable https://blogs.mathworks.com/community/2008/06/02/tables-in-matlab-with-uitable/?s_tid=feedtopost News from the intersection of MATLAB, Community, and the web. Tue, 16 Aug 2016 18:24:09 +0000 hourly 1 https://wordpress.org/?v=6.2.2 By: omar https://blogs.mathworks.com/community/2008/06/02/tables-in-matlab-with-uitable/#comment-50634 Thu, 25 Apr 2013 20:08:49 +0000 https://blogs.mathworks.com/desktop/2008/06/02/tables-in-matlab-with-uitable/#comment-50634 I have a [16×2 cell array] and I want to now how to call data from column 1 and 2
I mean which one is teh code in order to make it work in a push botton please help me

]]>
By: scott https://blogs.mathworks.com/community/2008/06/02/tables-in-matlab-with-uitable/#comment-39344 Tue, 05 Mar 2013 17:15:54 +0000 https://blogs.mathworks.com/desktop/2008/06/02/tables-in-matlab-with-uitable/#comment-39344 I have a uitable with a popupmenu. I have a selection in the popupmenu titled “User Defined” which if selected opens a uigetfile dialog box that I retrieve a file name from to be added to the popupmenu selection list. My problem is that I want the popupmenu selection to be the new filename I added to the popupmenu list insted of the “User Defined” selection. How can I set the value of the popupmenu to reflect this?
Here is my code:
function Curves_uitable_CellEditCallback(hObject, eventdata, handles)
Cdata = get(hObject,’Data’);
if strcmp(Cdata(1,1),’User Defined’)

[FileName,PathName] = uigetfile(‘*’);
FilePath = fullfile(PathName,FileName);
if isequal(FileName,0)
return
end
[pathstr, name, ext] = fileparts(FilePath);
GGmaxCurvesList{end+1} = name;
set(handles.Curves_uitable,’ColumnFormat’,{GGmaxCurvesList});

end

]]>
By: Aurélien https://blogs.mathworks.com/community/2008/06/02/tables-in-matlab-with-uitable/#comment-34816 Wed, 13 Feb 2013 12:27:52 +0000 https://blogs.mathworks.com/desktop/2008/06/02/tables-in-matlab-with-uitable/#comment-34816 Hi Nimrod !

See this solution :
Why will GUIDE not allow me to make a table smaller than 4 by 2?
https://www.mathworks.com/support/solutions/en/data/1-6JPE7Y/index.html?solution=1-6JPE7Y

Aurélien

]]>
By: Nimrod https://blogs.mathworks.com/community/2008/06/02/tables-in-matlab-with-uitable/#comment-34800 Wed, 13 Feb 2013 11:04:37 +0000 https://blogs.mathworks.com/desktop/2008/06/02/tables-in-matlab-with-uitable/#comment-34800 I use the GUIDE option and placed a table.
The table size is 4×6.
I want to have it 1×6 -> I tried to delete the extra rows with no success.
It keep on returning them when I press Apply/OK

]]>
By: Esben https://blogs.mathworks.com/community/2008/06/02/tables-in-matlab-with-uitable/#comment-9660 Fri, 13 Jul 2012 07:29:17 +0000 https://blogs.mathworks.com/desktop/2008/06/02/tables-in-matlab-with-uitable/#comment-9660 in # 32 (in 2009) Ken said that they are working on letting the user control alignment… it seems that this is still not implemented?
Any solution suggestions?

]]>
By: Bram https://blogs.mathworks.com/community/2008/06/02/tables-in-matlab-with-uitable/#comment-8325 Wed, 04 Jan 2012 11:46:23 +0000 https://blogs.mathworks.com/desktop/2008/06/02/tables-in-matlab-with-uitable/#comment-8325 Hi there,

I was wondering whether it is possible to show a struct in a UItable (or in a GUI, really. But the UItable seems the most likely).

My push-button runs another script which returns quite a big structs, with many embedded structs in them. The whole thing is just a 1X1 struct though. I’d like to view this struct in my GUI just as I can view it in the variable editor. Is this possible?

MASSIVE thanks :)
Bram

]]>
By: martin https://blogs.mathworks.com/community/2008/06/02/tables-in-matlab-with-uitable/#comment-8161 Wed, 26 Oct 2011 17:07:52 +0000 https://blogs.mathworks.com/desktop/2008/06/02/tables-in-matlab-with-uitable/#comment-8161 Hi,

I would like automatic create a matrix, or array. My program should work like this:

If I insert any number n, then it will create matrix, or array with elements i1;i2;i3;..in with size nx1.

For example:
if
n=2;
then result is [i1;i2],

ans =

i1
i2

if
n=4;
then result is [i1;i2;i3;i4].

Please can you help me?

Thank you

]]>
By: martin https://blogs.mathworks.com/community/2008/06/02/tables-in-matlab-with-uitable/#comment-8148 Tue, 25 Oct 2011 15:23:11 +0000 https://blogs.mathworks.com/desktop/2008/06/02/tables-in-matlab-with-uitable/#comment-8148 Hi,

I want use uitable, and uitable should present matrix named for example a. I need insert numbers ” 1, 2, 3,…” and strings “a, b,c,….” to the table.

At the end I need result b=a*a.

Please, help mi.

PS:

Here is example in M-file.
i3 = sym(‘i3′,’real’);
a=[ 0 0 i3; 1 2 3];
b=[2 2; 2 2; 2 2];
c=a*b;

]]>
By: Freddy https://blogs.mathworks.com/community/2008/06/02/tables-in-matlab-with-uitable/#comment-7539 Thu, 13 Jan 2011 23:24:10 +0000 https://blogs.mathworks.com/desktop/2008/06/02/tables-in-matlab-with-uitable/#comment-7539 Hi,

I have a problem in property editor, i have to define X axis label as ω, can you help me?

]]>
By: karin https://blogs.mathworks.com/community/2008/06/02/tables-in-matlab-with-uitable/#comment-7426 Thu, 04 Nov 2010 13:08:20 +0000 https://blogs.mathworks.com/desktop/2008/06/02/tables-in-matlab-with-uitable/#comment-7426 hi, i’m using a “uitable ” to insert data to a GUI, i need to save the data on a matrix for the internal use of the program. i’m trying to insert the data using a “get(…’data)” to use them on calculations but i can’t save the data on the matrix, it would be very helpfull if someone can tellme what to do, thanks.

]]>