How to create a big table

1 次查看(过去 30 天)
Light
Light 2013-5-29
How can i create a big table with row name and column name. And all the blank square will be filled after my results computed. Is it possible in MATLAB.
0-1 1-2 1-4
L - - -
B - - -
R - - -
X - - -

回答(1 个)

Image Analyst
Image Analyst 2013-5-29
You can use GUIDE and place a table on your figure. Or you can do it manually by calling uicontrol() and telling it you want a table. Then create a cell array and use set() to set the 'data' property.
dataTable = {'0-1', '1-2', '1-4';'L', ...... etc.
set(handles.dataTable, 'data', dataTable);

类别

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