How to add array of data in new row UITable using same callback function ?
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Whos dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!