How to create a big table

조회 수: 3 (최근 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에서 Tables에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by