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

5 次查看(过去 30 天)
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 中查找有关 Programming 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by