Creating an empty table matlab GUI

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일

1 개 추천

A=cell(3,1) will create an empty table.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Tables에 대해 자세히 알아보기

제품

질문:

2012년 6월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by