Array input through MATALB - GUI

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

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.
i.e.
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)

Categories

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

Products

Community Treasure Hunt

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

Start Hunting!