How to set only a row of data in a table in GUI?

I want to set the data of a certain row and leave rest of the table blank. How can I realize that? Thanks a lot!

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 10월 16일

0 개 추천

A=[1 2 3;4 5 6;7 8 9];
% If your table contains 8 rows, create a new array with 8 rows
B=[num2cell(A);cell(5,3)]
f=figure,
t=uitable(f,'data',B)

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Tables에 대해 자세히 알아보기

태그

질문:

2013년 10월 16일

답변:

2013년 10월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by