Creating an empty table matlab GUI

4 ビュー (過去 30 日間)
John
John 2012 年 6 月 14 日
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 Center および File ExchangeTables についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by