Effacer les filtres
Effacer les filtres

Creating an empty table matlab GUI

6 vues (au cours des 30 derniers jours)
John
John le 14 Juin 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?

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Tables dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by