Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: uitable: add new rows and set name for last row
Replies: 3   Last Post: Aug 9, 2014 5:26 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Mario

Posts: 9
Registered: 8/9/14
uitable: add new rows and set name for last row
Posted: Aug 9, 2014 4:15 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi!

I want to add new rows at the end of an uitable and set the name for this new row. So far,I am able to add new rows to my uitable with following code:

data = get(handles.uitable3,'data');
newRowdata = cat(1,data,cell(1,size(data,2)));
set(handles.uitable3,'data',newRowdata);
guidata(hObject,handles);

But how can I change the name only of the LAST row?

Thanks for help,
Mario



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.