Creating an empty table matlab GUI

8 次查看(过去 30 天)
The default size of a table on matlab appears to be a 4x2. However I created a variable A = ones(3,1) and chose the data on the table to reflect this variable, thus the table size changed to a 3x1 (which is what I would like it to be). The problem is that now the table is filled with 1's and I would like the table to be empty at the start of the GUI. Can anyone help?

采纳的回答

Tom
Tom 2012-6-14
A=cell(3,1) will create an empty table.

更多回答(0 个)

类别

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