Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: uitable help
Date: Wed, 2 Sep 2009 06:20:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 12
Message-ID: <h7l2qj$9qs$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1251872403 10076 172.30.248.37 (2 Sep 2009 06:20:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 2 Sep 2009 06:20:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1744387
Xref: news.mathworks.com comp.soft-sys.matlab:567739


*I can add a table to my gui by this code:
mytable = uitable; 
set(mytable,'Data',magic(10))
set(mytable,'ColumnWidth',{25})

*Or i can add a table by dragging table icon from left frame in GUIDE Layout editor.

But when i add a table with Layout editor, i can't access to it from m file, because i don't know how to manipulate like
set(mytable,'Data',magic(10))

because i don't know the name of the table, it is not "mytable".
Can you help me please?