MATLAB Answers


How to create a big table

Asked by Light
on 29 May 2013

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 - - -




No products are associated with this question.

1 Answer

Answer by Image Analyst
on 29 May 2013

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);


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today