How to set only a row of data in a table in GUI?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Yizhi
el 16 de Oct. de 2013
Respondida: Azzi Abdelmalek
el 16 de Oct. de 2013
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!
0 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 16 de Oct. de 2013
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Tables en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!