Creating an empty table matlab GUI

11 views (last 30 days)
John
John on 14 Jun 2012
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?

Accepted Answer

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

More Answers (0)

Categories

Find more on Tables in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!