Clear Filters
Clear Filters

Array input through MATALB - GUI

3 views (last 30 days)
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.

Accepted Answer

Giorgos Papakonstantinou
Giorgos Papakonstantinou on 18 Feb 2015
Edited: Giorgos Papakonstantinou on 18 Feb 2015
Yes it is possible with uitable. Check also the Access Property Values of uitable.
f = figure;
d = randi(100, 7, 3);
t = uitable(f,'Data',d,'ColumnWidth',{50},...
'ColumnEditable', [true true true]);
  1 Comment
Suraj Srivastava
Suraj Srivastava on 18 Feb 2015
Well, thank you so much.
Now I want to save all the entered data. PLease help me out.

Sign in to comment.

More Answers (0)


Find more on Migrate GUIDE Apps in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!