MATLAB Creating Graphical User Interfaces

(ff) #1
To adjust the widths of the columns, specify the ColumnWidth property. The
ColumnWidth property is a 1-by-N cell array, where N is the number of columns in the
table. Set a specific column width, or let MATLAB® set the width based on the contents.

t.ColumnWidth = {100, 'auto', 'auto', 'auto', 150};

To remove the row names, set the RowName property to an empty array ([]).

t.RowName = [];

13 Examples of Programmatic Apps

Free download pdf