From: Elton on 8 Jun 2010 13:01 "Kyle" <kyle.m.douglass(a)gmail.com> wrote in message <grtrpj$2vr$1(a)fred.mathworks.com>... > Does the current implementation of uitable support adding and removing rows while the GUI is running? If so, what property of the uitable do I need to change to do this? I'm using GUIDE, if this at all matters in answering my question. Thanks! > > -KM Douglass Hi, This code above will not work if a data table already exists. Try it (in calback function code): dados=get(handles.uitable, 'data'); linha=dados (size(dados,1),:) ; %last line Usuario=cat(1,dados,linha); set(handles.uitable,'data', Usuario); guidata(hObject, handles); Elton
|
Pages: 1 Prev: Initial value of Embedded Matlab Function Next: Offset XY Plot |