필터 지우기
필터 지우기

Add rows in uitable

조회 수: 1 (최근 30일)
as hz
as hz 2013년 2월 6일
Hi,
The GUI I wrote generate the cData for every time I click a pushbutton.
cData = {complete; AInfo; BInfo; CInfo; DInfo};
set(handles.infoTable, 'data', cData);
Unfortunately, every time it is overwritten the row data. Therefore, how can I write the new cData in new rows?
Thanks

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 2월 6일
cData = {complete; AInfo; BInfo; CInfo; DInfo};
old_data=get(handles.infoTable,'data');
new_data=[old_data;cData]
set(handles.infoTable, 'data',new_data);
  댓글 수: 1
as hz
as hz 2013년 2월 6일
Thanks again

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by