How to add array of data in new row UITable using same callback function ?
Mostrar comentarios más antiguos
I've added array of data to UITable. i wasn't able to figure out how to added similar array which has different values in a new row without removing the previous added array of data by using same callback function. Any support is appreciated.
% Button pushed function: CreateandLoadSFButton
function CreateandLoadSFButtonPushed(app, event)
%Add to UITable
app.UITable.RowName= 'numbered';
%rwname={Name,Heat Capacity',Cooling Correction,Heating Time,Cooling Time,Voltage,Current,Initial RT,Container Heat Capacity,Liquid Weight};
data={Name,HCap,ydT_2,xH,xC,V,I,Q0,ConHC,W,};
nr=1;
for i=1:10
nr=nr+1;
end
app.UITable.Data(nr,:)=data;
end
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Whos en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!