How do I edit or delete the data in a uitable?

조회 수: 3 (최근 30일)
slumberk
slumberk 2011년 2월 8일
I have a figure with a uitable. I have 4 row and 3 columns.
When I go to the property inspector, I can't delete row number 4. How can I delete row number 4?

채택된 답변

Vieniava
Vieniava 2011년 2월 10일
You can always "physically" delete row-data:
A=rand(4,3);
th=uitable('Data', A);
A(4,:)=[];
set(th, 'Data', A);

추가 답변 (1개)

slumberk
slumberk 2011년 2월 11일
@vieniava
thx a lot =)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by