Array input through MATALB - GUI

2 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Giorgos Papakonstantinou
Giorgos Papakonstantinou il 18 Feb 2015
Modificato: Giorgos Papakonstantinou il 18 Feb 2015
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 Commento
Suraj Srivastava
Suraj Srivastava il 18 Feb 2015
Well, thank you so much.
Now I want to save all the entered data. PLease help me out.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by