The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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 ]

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


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)));

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

Thanks for help,

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.