Hi,
Is it possible to provide an array (7 row, 3 column)input through MATLAB GUI? I am comfortable with providing a single numeric value through GUI input box but wonder whether we can provide 2D array through MATLAB-GUI.
Looking forward to your help.
Thanks

 Réponse acceptée

Giorgos Papakonstantinou
Giorgos Papakonstantinou le 18 Fév 2015
Modifié(e) : Giorgos Papakonstantinou le 18 Fév 2015

0 votes

Yes it is possible with uitable. Check also the Access Property Values of uitable.
i.e.
f = figure;
d = randi(100, 7, 3);
t = uitable(f,'Data',d,'ColumnWidth',{50},...
'ColumnEditable', [true true true]);

1 commentaire

Suraj Srivastava
Suraj Srivastava le 18 Fév 2015
Well, thank you so much.
Now I want to save all the entered data. PLease help me out.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by