How to add array of data in new row UITable using same callback function ?
이전 댓글 표시
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
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Whos에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!